commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BCEL-202) StackMapTableEntry.copy() needs to be deep; Improved support for StackMaps
Date Fri, 21 Aug 2015 12:52:45 GMT

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

Sebb commented on BCEL-202:
---------------------------

URL: http://svn.apache.org/r1696959
Log:
BCEL-202 StackMapTableEntry.copy() needs to be deep; Improved support for StackMaps

Modified:
    commons/proper/bcel/trunk/src/changes/changes.xml
    commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/classfile/StackMap.java
    commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/classfile/StackMapEntry.java


> StackMapTableEntry.copy() needs to be deep; Improved support for StackMaps
> --------------------------------------------------------------------------
>
>                 Key: BCEL-202
>                 URL: https://issues.apache.org/jira/browse/BCEL-202
>             Project: Commons BCEL
>          Issue Type: Bug
>            Reporter: Mark Roberts
>         Attachments: stack-map.diff
>
>
> There are several ways a user can modify a Java class file that should cause BCEL to
update the StackMaps automatically.  Unfortunately, it does not.  These additional methods
at least allow users to take care of these issues for themselves.
> The patch also fixes a bug - StackMapTableEntry.copy() needs to be a deep copy to prevent
StackMapTypes from being reused.



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

Mime
View raw message