RFR: 8310183: Update GitHub Actions to use boot JDK for building jtreg

Aleksey Shipilev shade at openjdk.org
Fri Jun 16 08:48:00 UTC 2023


On Fri, 16 Jun 2023 06:05:16 GMT, Christian Stein <cstein at openjdk.org> wrote:

> Please review this change to use the boot JDK for building jtreg when running on GitHub Actions.
> 
> This is a best-effort follow-up change to
> - #14448
> which didn't have the desired results - the `Bad address` error does still appear with using the pre-installed JDKs 11 and 17.
> 
> Tests using the boot JDK for building jtreg seem to be successful and more stable.

Wait, so why does it fix the bug? Is it a MSYS path conversion bug? If so, could we "just" `cp` everything from `JAVA_HOME_17_X64` to local path and try that?

My concern with hooking jtreg to boot JDK would require jtreg to be buildable with STSes, like JDK 22 for eventual JDK 23 builds. Is there a plan/commitment for jtreg to do it?

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

PR Review: https://git.openjdk.org/jdk/pull/14507#pullrequestreview-1483018002



More information about the build-dev mailing list