[jdk21u-dev] RFR: 8348905: Add support to specify the JDK for compiling Jtreg tests
Goetz Lindenmaier
goetz at openjdk.org
Fri Jan 31 08:06:53 UTC 2025
On Thu, 30 Jan 2025 09:20:41 GMT, SendaoYan <syan at openjdk.org> wrote:
> Hi all,
>
> This pull request contains a backport of commit [cbe9ec53](https://github.com/openjdk/jdk/commit/cbe9ec530fc248be74766ff6ff32761cd415a6f0) from the [openjdk/jdk](https://git.openjdk.org/jdk) repository. This backport support set to an alternative JDK directory that is different from the JDK running the tests through `JDK_FOR_COMPILE`, shows as below command.
>
>
> make test CONF=linux-x86_64-server-fastdebug TEST="jtreg:test/hotspot/jtreg/native_sanity/JniVersion.java" JDK_IMAGE_DIR=$PWD/build/linux-x86_64-server-fastdebug/images/jdk JDK_FOR_COMPILE=$PWD/build/linux-x86_64-server-release/images/jdk
>
>
> Thanks!
Hi @sendaoYan
I think we should wait a bit with pushing this until the follow up issue is solved.
-------------
PR Comment: https://git.openjdk.org/jdk21u-dev/pull/1375#issuecomment-2626547220
More information about the jdk-updates-dev
mailing list