[ 
https://issues.apache.org/jira/browse/BCEL-261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14717710#comment-14717710
 ] 

Sebb commented on BCEL-261:
---------------------------

URL: http://svn.apache.org/r1698238
Log:
BCEL-261 Select constructor allows partially constructed instance to escape. 
Re-ordered code to delay the escape

Modified:
    commons/proper/bcel/trunk/src/changes/changes.xml
    
commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/generic/Select.java


> 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
>         Attachments: select-init.diff
>
>
> 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)

Reply via email to