kriegaex opened a new pull request, #139:
URL: https://github.com/apache/commons-bcel/pull/139

   Fixes https://issues.apache.org/jira/browse/BCEL-362.
   
   There was a problem when processing JaCoCo-instrumented code with BCEL, e.g. 
when passing it through example class `JasminVisitor`, causing
   
   ```text
   java.lang.ClassCastException: class 
org.apache.bcel.classfile.ConstantMethodref cannot be cast to class 
org.apache.bcel.classfile.ConstantClass 
(org.apache.bcel.classfile.ConstantMethodref and 
org.apache.bcel.classfile.ConstantClass are in unnamed module of loader 'app')
       at 
org.apache.bcel.generic.ConstantPoolGen.<init>(ConstantPoolGen.java:153)
       at 
org.apache.bcel.generic.ConstantPoolGen.<init>(ConstantPoolGen.java:211)
       at de.example.JasminVisitor.<init>(JasminVisitor.java:70)
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to