commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Bourg (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (BCEL-131) Class files containing "StackMapTable" attributes (on method code) are dumped incorrectly
Date Thu, 24 Apr 2014 08:33:16 GMT

     [ https://issues.apache.org/jira/browse/BCEL-131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Emmanuel Bourg updated BCEL-131:
--------------------------------

         Priority: Blocker
      Environment:     (was: Operating System: Linux
Platform: PC)
    Fix Version/s: 6.0
         Priority:   (was: P2)
         Severity:   (was: normal)

> Class files containing "StackMapTable" attributes (on method code) are dumped incorrectly
> -----------------------------------------------------------------------------------------
>
>                 Key: BCEL-131
>                 URL: https://issues.apache.org/jira/browse/BCEL-131
>             Project: Commons BCEL
>          Issue Type: Bug
>          Components: Main
>    Affects Versions: 5.3
>            Reporter: Mattias Ulbrich
>            Assignee: Apache Commons Developers
>            Priority: Blocker
>             Fix For: 6.0
>
>         Attachments: patch, svn-diff, svn-diff
>
>
> When dumping an (untouched) class file containing a StackMap table, the result is not
faithful and cannot be be reloaded afterwards.
> The problem, I reckon, is within the method StackMapTableEntry.dump. One case raises
an exception though it should not and other cases write byte values though short values should
be written instead.
> The attached diff fixed the problem for my purposes, but I do not know whether it is
correct.
> Regards,
>     Mattias



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message