diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c72723..6615fa9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,9 @@ This project uses tags and branches for [release management](https://docs.github ## [Unreleased] +### Added +- Java `23` and `24` to the list of Early-Access releases +- New `version: stable` mode for `release: ea` setups ## [1.3.4] - 2024-03-21 ### Fixed diff --git a/README.md b/README.md index 69685d1..aef07be 100644 --- a/README.md +++ b/README.md @@ -50,10 +50,9 @@ It is set by default to `latest`. ___ -**WARNING!** - -Older versions of the JDK are provided to help developers debug issues in older systems. -**They are not updated with the latest security patches and are not recommended for use in production.** +> [!CAUTION] +> Older versions of the JDK are provided to help developers debug issues in older systems. +> **They are not updated with the latest security patches and are not recommended for use in production.** ___ @@ -111,10 +110,9 @@ steps: ``` ___ -**WARNING!** - -Older versions of the JDK are provided to help developers debug issues in older systems. -**They are not updated with the latest security patches and are not recommended for use in production.** +> [!CAUTION] +> Older versions of the JDK are provided to help developers debug issues in older systems. +> **They are not updated with the latest security patches and are not recommended for use in production.** ___ @@ -133,6 +131,11 @@ steps: release: N # Replace N with GA, EA, 17, 18, 19, ... ``` +> [!NOTE] +> This action supports two `version` update early-access modes for `release: EA` on `jdk.java.net`: +> - `version: latest` updates as early as possible to the latest-and-greatest JDK build (default) +> - `version: stable` updates later in the release cycle, usually then a new JDK build goes GA + ### Download and install an Early-Access build of a named OpenJDK project ```yaml diff --git a/src/ListOpenJavaDevelopmentKits.java b/src/ListOpenJavaDevelopmentKits.java index 1155dcd..03c7af3 100644 --- a/src/ListOpenJavaDevelopmentKits.java +++ b/src/ListOpenJavaDevelopmentKits.java @@ -9,6 +9,7 @@ import java.net.http.HttpClient; import java.net.http.HttpRequest; import java.net.http.HttpResponse; +import java.util.ArrayList; import java.util.List; import java.util.StringJoiner; import java.util.TreeMap; @@ -31,7 +32,7 @@ * *