-
Enhancement
-
Resolution: Fixed
-
P4
-
17, 21, 25
-
None
-
b08
In jdk/make/RunTests.gmk, it makes use of jtreg's `-testjdk:dir` option for specifying the testing JDK for running jtreg tests. It's also useful to be able to specify the JDK to compile code, with the `-compilejdk:dir` option.
Normally, the testing JDK contains the `javac`, which can be used to compile the test code. With running on the static JDK build (built by `static-jdk-image`), the `static-jdk` image does not contain `javac` or other tools. We want to use an alternative JDK with the tools for compiling tests. In that case, specifying the `-compilejdk:dir` option is needed.
Normally, the testing JDK contains the `javac`, which can be used to compile the test code. With running on the static JDK build (built by `static-jdk-image`), the `static-jdk` image does not contain `javac` or other tools. We want to use an alternative JDK with the tools for compiling tests. In that case, specifying the `-compilejdk:dir` option is needed.
- causes
-
JDK-8349075 After 8348905 I can no longer supply "-compilejdk" directly in JAVAOPTIONS.
-
- Open
-
- relates to
-
JDK-8303796 Optionally build fully statically linked JDK image
-
- Open
-
- links to
-
Commit(master) openjdk/jdk/cbe9ec53
-
Review(master) openjdk/jdk17u-dev/3257
-
Review(master) openjdk/jdk21u-dev/1375
-
Review(master) openjdk/jdk/23345
(1 links to)