Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Disclaimer: I am not a byte code buff, so if I am misunderstanding anything here, please forgive me for raising a stupid issue, try to be patient and explain it to me.
When looking at the class ConstantPool, it seems as if condy is not being handled in methods
- constantToString(Constant),
- addConstant(Constant, ConstantPool),
- addConstantDynamic(int, int) (method does not exist, not sure if it would be necessary).
I would have expected something like case Constants.CONSTANT_Dynamic with proper handling for this case in the first two methods.
When using BCEL in order to parse class files using condy, like JaCoCo creates them, this causes errors. FYI, we are using BCEL code in AspectJ, and whenever people combine it with JaCoCo, corresponding problems occur.
Attachments
Issue Links
- links to