RFR: 8340341: Abort in configure when using Xcode 16.0 or 16.1
Magnus Ihse Bursie
ihse at openjdk.org
Thu Apr 3 09:49:15 UTC 2025
The JDK mainline build when using XCode 16 or 16.1 fails with:
* For target buildtools_create_symbols_javac__the.COMPILE_CREATE_SYMBOLS_batch:
Exception in thread "main" java.lang.ClassFormatError: StackMapTable format error: bad verification type
at jdk.compiler/com.sun.tools.javac.Main.compile(Main.java:64)
at jdk.compiler/com.sun.tools.javac.Main.main(Main.java:52)
This is due to a compiler bug in Xcode, which was fixed in 16.2. We should catch this at configure time, since the build error is very confusing.
-------------
Commit messages:
- 8340341: Warn in configure when using Xcode 16.0 or 16.1
Changes: https://git.openjdk.org/jdk/pull/24408/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24408&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8340341
Stats: 5 lines in 1 file changed: 5 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/24408.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/24408/head:pull/24408
PR: https://git.openjdk.org/jdk/pull/24408
More information about the build-dev
mailing list