Well, TBH, the ASM upgrade is the usual/famous pain with any JDK new version :), and this happens for every project that depends on it. I was blocked testing Jetty build with jdk24 til the last asm 9.7.1 except not depending on ASM not sure what to do.
On Fri, 25 Oct 2024 at 08:04, Laird Nelson <ljnel...@gmail.com> wrote: > > 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 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org