<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">I am trying to build a fresh new unmodified copy of OpenJDK, and have run into the following obscure error.  I’m using JDK 23.0.1 as the boot JDK.<div>The significant line is: </div><div><span style="font-size: 13.333333px;">    Exception in thread "main" java.lang.ClassFormatError: StackMapTable format error: bad verification type</span><br><div><br></div><div>This is on a Mac, with latest Sonoma OS, and latest Xcode, although the failure is more in the Java/JDK parts of the system.  Could it be related to the new classfile library?</div><div><br></div><div>— Jon</div><div><br></div><div><p style="font-size: 13.333333px;">Creating support/modules_cmds/jdk.jdeps/jdeprscan from 1 file(s)<br>Creating support/modules_cmds/jdk.jdi/jdb from 1 file(s)<br>Creating support/modules_cmds/jdk.jfr/jfr from 1 file(s)<br>Creating support/modules_cmds/jdk.jlink/jimage from 1 file(s)<br>Creating jdk/modules/jdk.jpackage/jdk/jpackage/internal/resources/jpackageapplauncher from 16 file(s)<br>Creating support/modules_cmds/jdk.jlink/jlink from 1 file(s)<br>Creating support/modules_cmds/jdk.jlink/jmod from 1 file(s)<br>Creating support/modules_cmds/jdk.jpackage/jpackage from 1 file(s)<br>Creating support/modules_cmds/jdk.jshell/jshell from 1 file(s)<br>Creating support/modules_libs/<a href="http://jdk.net/libextnet.dylib">jdk.net/libextnet.dylib</a> from 1 file(s)<br>Creating support/modules_cmds/jdk.jstatd/jstatd from 1 file(s)<br>Creating support/modules_libs/jdk.security.auth/libjaas.dylib from 1 file(s)<br>Compiling up to 4 files for COMPILE_CREATE_SYMBOLS<br>Compiling up to 70 files for COMPILE_CREATE_SYMBOLS<br>Exception in thread "main" java.lang.ClassFormatError: StackMapTable format error: bad verification type<br>at jdk.compiler/com.sun.tools.javac.Main.compile(Main.java:64)<br>at jdk.compiler/com.sun.tools.javac.Main.main(Main.java:52)<br>make[3]: *** [/Users/jsqrdg/OpenJDK/jdk/jdk.ref/build/macosx-aarch64-server-release/buildtools/create_symbols_javac/_the.COMPILE_CREATE_SYMBOLS_batch] Error 1<br>make[2]: *** [jdk.compiler-gendata] Error 2<br>make[2]: *** Waiting for unfinished jobs....</p><p style="font-size: 13.333333px;">ERROR: Build failed for target 'jdk-image' in configuration 'macosx-aarch64-server-release' (exit code 2) <br>Stopping javac server</p><p style="font-size: 13.333333px;">=== Output from failing command(s) repeated here ===<br>* For target buildtools_create_symbols_javac__the.COMPILE_CREATE_SYMBOLS_batch:<br>Exception in thread "main" java.lang.ClassFormatError: StackMapTable format error: bad verification type<br>at jdk.compiler/com.sun.tools.javac.Main.compile(Main.java:64)<br>at jdk.compiler/com.sun.tools.javac.Main.main(Main.java:52)</p><p style="font-size: 13.333333px;">* All command lines available in /Users/jsqrdg/OpenJDK/jdk/jdk.ref/build/macosx-aarch64-server-release/make-support/failure-logs.<br>=== End of repeated output ===</p><p style="font-size: 13.333333px;">No indication of failed target found.<br>HELP: Try searching the build log for '] Error'.<br>HELP: Run 'make doctor' to diagnose build problems.</p></div></div></body></html>