Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
6.8.1
-
None
Description
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
Attachments
Attachments
Issue Links
- is duplicated by
-
BCEL-136 Invalid stack map table tag & bad constant pool index with Java 1.6 bytecode
- Resolved