You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Mr TheSegfault (JIRA)" <ji...@apache.org> on 2018/11/11 02:04:00 UTC

[jira] [Created] (MINIFICPP-665) Fix basestream references

Mr TheSegfault created MINIFICPP-665:
----------------------------------------

             Summary: Fix basestream references
                 Key: MINIFICPP-665
                 URL: https://issues.apache.org/jira/browse/MINIFICPP-665
             Project: NiFi MiNiFi C++
          Issue Type: Improvement
            Reporter: Mr TheSegfault
            Assignee: Mr TheSegfault


At some point basestream was changed to be a composable pointer ( hence the name base stream ) as a wrapper for a variety of streams. this caused a bug where a self reference could occur. We overload this stream to be a self reference since it extends DataStream. This is a very likely usage so we can avoid the bugs by simply checking if the composition is a reference to self. This reference to self won't be removed in the interest of time and re-using Serializable's interface. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)