RFR: 8340341: Abort in configure when using Xcode 16.0 or 16.1

Erik Joelsson erikj at openjdk.org
Fri Apr 4 07:03:50 UTC 2025


On Thu, 3 Apr 2025 09:44:02 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

> 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.

Marked as reviewed by erikj (Reviewer).

-------------

PR Review: https://git.openjdk.org/jdk/pull/24408#pullrequestreview-2741990429


More information about the build-dev mailing list