RFR: 7903193: [jtreg] build and test failures using JDK 18 [v4]

Christian Stein cstein at openjdk.org
Thu Oct 17 13:31:28 UTC 2024


On Sun, 22 Sep 2024 10:58:50 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

>> Jaikiran Pai has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains six commits:
>> 
>>  - merge latest from master branch
>>  - Jon's review - maintain alphabetical order of environment variables in build script
>>  - better code comment
>>  - consider java version >= 18
>>  - merge latest from master branch
>>  - 7903193: [jtreg] build and test failures using JDK 18
>
> I've now updated the PR after merging against latest master. I have verified that with these changes, all self tests continue to pass with Java versions less than 18 as well as greater than 18, both when headless is true and when headless is false.

@jaikiran Can you please replace the `17` with a `21` in https://github.com/jaikiran/jtreg/blob/60809c4da0f2ef18540df4328113f898d032497b/.github/workflows/test.yml#L24

That should make a) the test workflow download an Oracle JDK and b) also run the build (compilation and tests) on a JDK 18+.

Background: https://www.oracle.com/java/technologies/jdk-script-friendly-urls/
> JDK 17 LTS and GraalVM for JDK 17 LTS latest URLs are no longer available. They were available for three years after GA and one year after the next JDK LTS release. They stopped working on October of 2024. Java SE Subscribers and customers using Oracle Cloud Infrastructure can continue getting updates for JDK 17 and GraalVM for JDK 17; other users should migrate to the next LTS.
> 
> The archive URLs for each release will continue to work for at least a year after the corresponding latest URLs stop being available.
> 
> Although the latest URLs for JDK 17 are no longer available, the archive URLs for JDK 17 LTS releases 17.0.12 and earlier continue to work until October of 2025; one year after the the corresponding latest URLs were disabled.

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

PR Comment: https://git.openjdk.org/jtreg/pull/190#issuecomment-2419549134


More information about the jtreg-dev mailing list