diff --git a/README.md b/README.md index 03398d0..14269ae 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ JDKs built by Oracle are [Oracle JDK](https://www.oracle.com/java/technologies/d | Input Name | Default Value | Description | |-----------------------|--------------:|-----------------------------------------------------------------| | `website` | `oracle.com` | From where the JDK should be downloaded. | -| `release` | `26` | Java feature release number or name of an Early-Access project. | +| `release` | `27` | Java feature release number or name of an Early-Access project. | | `version` | `latest` | An explicit version of a Java release. | | `install` | `true` | Install the downloaded JDK archive file. | | `install-as-version` | _empty_ | Control the value passed as `java-version` | diff --git a/action.yml b/action.yml index 1800440..562c72e 100644 --- a/action.yml +++ b/action.yml @@ -11,9 +11,9 @@ inputs: required: true default: 'oracle.com' release: - description: 'Feature release number or project name, defaults to `26`' + description: 'Feature release number or project name, defaults to `27`' required: true - default: '26' + default: '27' version: description: 'Additional version information, defaults to `latest`' required: true diff --git a/src/ListOpenJavaDevelopmentKits.java b/src/ListOpenJavaDevelopmentKits.java index 8d211d0..3fad67c 100644 --- a/src/ListOpenJavaDevelopmentKits.java +++ b/src/ListOpenJavaDevelopmentKits.java @@ -40,17 +40,16 @@ class ListOpenJavaDevelopmentKits { static final List PAGES = List.of( // JDK: General-Availability Release - Page.of("26") // https://jdk.java.net/26 - .withAlias("26,latest") + Page.of("27") // https://jdk.java.net/27 + .withAlias("27,latest") .withAlias("ga,latest"), // JDK: Early-Access Releases (latest) Page.of("28") // https://jdk.java.net/28 .withAlias("28,latest") + .withAlias("ea,stable") .withAlias("ea,latest"), // JDK: Early-Access Releases (stable) - Page.of("27") // https://jdk.java.net/27 - .withAlias("27,latest") - .withAlias("ea,stable"), + // Named projects, usually in Early-Access phase Page.of("jextract") // https://jdk.java.net/jextract .withAlias("jextract,latest") diff --git a/test/Test.java b/test/Test.java index 6f2ef2a..98a29f1 100644 --- a/test/Test.java +++ b/test/Test.java @@ -29,6 +29,7 @@ public static void main(String[] args) { static void checkAllOracleJDKs() { System.out.println(); System.out.println("// oracle.com - latest"); + checkOracleJDK("27", "latest"); checkOracleJDK("26", "latest"); checkOracleJDK("25", "latest"); checkOracleJDK("21", "latest");