Integrated: 8349075: Once again allow -compilejdk in JAVA_OPTIONS
Magnus Ihse Bursie
ihse at openjdk.org
Fri Apr 4 13:48:06 UTC 2025
On Wed, 2 Apr 2025 17:57:06 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:
> [JDK-8348905](https://bugs.openjdk.org/browse/JDK-8348905) added the possibility to set `JDK_FOR_COMPILE` on the command line to pass the `-compilejdk:` argument to jtreg. Unfortunately the way it did this meant that -compilejdk: were always passed, so trying to set it separately in JAVAOPTIONS failed due to a duplicate argument error.
>
> This PR will instead only set `-compilejdk:` if `JDK_FOR_COMPILE` is given on the command line.
This pull request has now been integrated.
Changeset: 3cc43b32
Author: Magnus Ihse Bursie <ihse at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/3cc43b3224efdf1a3f35fff58b993027a9e1f4ad
Stats: 9 lines in 1 file changed: 5 ins; 4 del; 0 mod
8349075: Once again allow -compilejdk in JAVA_OPTIONS
Reviewed-by: rehn, erikj
-------------
PR: https://git.openjdk.org/jdk/pull/24386
More information about the build-dev
mailing list