Inconsistent bytecode generated by aspectjweaver 1.9.22 [message #1872716] |
Fri, 15 November 2024 12:44  |
Eclipse User |
|
|
|
Maven 3.9.1 running with IBM Java 17.0.11.
The Maven project uses two javaagents:
- jacoco (0.8.12) and
- aspectjweaver 1.9.22
During the mvn testing phase, the error below is being generated:
java.lang.ClassFormatError: JVMCFRE153 Constant pool entry not valid in class files with versions < 55.0; class=org/apache/parquet/hadoop/CodecFactory$HeapBytesCompressor, offset=3202
This is due to the fact that the bytecode generated by aspectjweaver is inconsistent: although the class version is 52, the constant pool contains the Dynamic construct.
Attached (see RelevantFiles.zip)
-- the class files before and after being processed by aspectjweaver .
-- the output of running javap on those two class files
This might as well be some sort of jacoco - aspectjweaver incongruity.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03407 seconds