You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Emmanuel Bourg (JIRA)" <ji...@apache.org> on 2014/04/24 10:33:16 UTC
[jira] [Updated] (BCEL-131) Class files containing "StackMapTable"
attributes (on method code) are dumped incorrectly
[ 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)