commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Created] (BCEL-261) Select constructor allows partially constructed instance to escape
Date Thu, 27 Aug 2015 22:42:45 GMT
Sebb created BCEL-261:
-------------------------

             Summary: Select constructor allows partially constructed instance to escape
                 Key: BCEL-261
                 URL: https://issues.apache.org/jira/browse/BCEL-261
             Project: Commons BCEL
          Issue Type: Bug
            Reporter: Sebb


The main Select constructor allows its instance to be accessed by other code before the constructor
has completed.

This causes problems such as BCEL-195 because the behaviour of a partially constructed object
is not well defined.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message