RFR: 8325444: GHA: JDK-8325194 causes a regression
Aleksey Shipilev
shade at openjdk.org
Thu Feb 8 09:02:53 UTC 2024
On Wed, 7 Feb 2024 19:50:51 GMT, Christoph Langer <clanger at openjdk.org> wrote:
> The [change](https://github.com/openjdk/jdk/commit/d1c82156ba6ede4b798ac15f935289cfcc99d1a0) for [JDK-8325194](https://bugs.openjdk.org/browse/JDK-8325194) broke get-jtreg because the way to determine the build jdk was not correct.
>
> I then tried to use the bootstrap JDK with the correct wiring but it turned out that the build of JTReg fails with the current JDK, see [here](https://github.com/RealCLanger/jdk/actions/runs/7820130826/job/21334120478).
>
> So I propose to fix it by going to the originally proposed solution using `$JAVA_HOME_17_<arch>`.
I would prefer us to unbreak GHA for everyone first, and then look for the cleaner solutions to this problem. Current fix, while ugly, is essentially what we did before: using the runner image var. The `JAVA_HOME_17_arm64` is documented here for `macos-14` runner image: https://github.com/actions/runner-images/blob/main/images/macos/macos-14-arm64-Readme.md
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17756#issuecomment-1933625985
More information about the build-dev
mailing list