Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
5.0, 5.1, 5.2
-
None
-
None
Description
See attached sample project that reproduces the failure. On Java 7, it prints info about the ConcurrentMap class. On Java 8, it encounters the following exception:
Exception in thread "main" org.apache.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 18 at org.apache.bcel.classfile.Constant.readConstant(Constant.java:146) at org.apache.bcel.classfile.ConstantPool.<init>(ConstantPool.java:67) at org.apache.bcel.classfile.ClassParser.readConstantPool(ClassParser.java:222) at org.apache.bcel.classfile.ClassParser.parse(ClassParser.java:136) at TestMain.main(TestMain.java:11)
To use the sample project, extract it and then run "./gradlew clean run".
Attachments
Attachments
Issue Links
- is depended upon by
-
CXF-5716 CXF build fails with JDK 1.8
- Closed
-
MSHARED-409 maven-shared-jar fails to analyse JARs containing Java 8 code
- Closed