I'm using maven-compiler-plugin 3.13.0, which is the latest non-beta
release as of this writing.

I'm using toolchains. I have a JDK 23 set up.

I have a module-info.java.

The compile goal works fine (my code is compiled successfully using my
toolchain's JDK 23).

The testCompile goal fails, indicating that a classfile version of 67 (JDK
23's) cannot be handled by the compiler plugin. This occurs when the plugin
attempts to use ASM via plexus-languages to read my module-info.class (that
it itself generated, incidentally).

This sort of issue has happened in Mavenland before, with prior Java
upgrades. I wonder if a test in the Maven codebase for this situation
should be added.

Best,
Laird

Reply via email to