Skip to content

Commit 44aa126

Browse files
authored
Java 24 / JDK 24: General Availability
Closes #95
1 parent 2c1d5af commit 44aa126

File tree

4 files changed

+11
-10
lines changed

4 files changed

+11
-10
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ JDKs built by Oracle are [Oracle JDK](https://www.oracle.com/java/technologies/d
99
| Input Name | Default Value | Description |
1010
|-----------------------|--------------:|-----------------------------------------------------------------|
1111
| `website` | `oracle.com` | From where the JDK should be downloaded. |
12-
| `release` | `23` | Java feature release number or name of an Early-Access project. |
12+
| `release` | `24` | Java feature release number or name of an Early-Access project. |
1313
| `version` | `latest` | An explicit version of a Java release. |
1414
| `install` | `true` | Install the downloaded JDK archive file. |
1515
| `install-as-version` | _empty_ | Control the value passed as `java-version` |
@@ -35,7 +35,7 @@ The following values are supported:
3535
### Input `release`
3636

3737
The `release` input denotes a Java feature release number (`21`, `22`, ...) or a name of an Early-Access project (`loom`, ...).
38-
It defaults to the current General-Availability Release for the Java SE platform., which is `23` as of today.
38+
It defaults to the current General-Availability Release for the Java SE platform., which is `24` as of today.
3939

4040
Note that websites may offer a different set of available releases.
4141
For example, `oracle.com` only offers releases of `21` and above; it does not offer Early-Access releases.
@@ -90,11 +90,11 @@ The following examples use the [JDK Script Friendly URLs](https://www.oracle.com
9090

9191
```yaml
9292
steps:
93-
- name: 'Set up latest Oracle JDK 23'
93+
- name: 'Set up latest Oracle JDK 24'
9494
uses: oracle-actions/setup-java@v1
9595
with:
9696
website: oracle.com
97-
release: 23
97+
release: 24
9898
```
9999
100100
### Download and install a specific version of Oracle JDK

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ inputs:
1111
required: true
1212
default: 'oracle.com'
1313
release:
14-
description: 'Feature release number or project name, defaults to `23`'
14+
description: 'Feature release number or project name, defaults to `24`'
1515
required: true
16-
default: '23'
16+
default: '24'
1717
version:
1818
description: 'Additional version information, defaults to `latest`'
1919
required: true

src/ListOpenJavaDevelopmentKits.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,19 @@
4040
class ListOpenJavaDevelopmentKits {
4141

4242
/** Current General-Availability release number. */
43-
static final String GA = System.getProperty("GA", "23");
43+
static final String GA = System.getProperty("GA", "24");
4444

4545
/** Current Soon-Archived release number. */
46-
static final String SA = System.getProperty("SA", "22");
46+
static final String SA = System.getProperty("SA", "23");
4747

4848
/** Early-Access Releases, as comma separated names. */
49-
static final String EA = System.getProperty("EA", "25,24,jextract,leyden,loom,valhalla");
49+
static final String EA = System.getProperty("EA", "25,jextract,leyden,loom,valhalla");
5050

5151
/** Current "latest" Early-Access Release number. */
5252
static final String EA_LATEST = System.getProperty("EA_LATEST", "25");
5353

5454
/** Current "stable" Early-Access Release number. */
55-
static final String EA_STABLE = System.getProperty("EA_STABLE", "24");
55+
static final String EA_STABLE = System.getProperty("EA_STABLE", "25");
5656

5757
/** Include archived releases flag. */
5858
static final boolean ARCHIVES = Boolean.getBoolean("ARCHIVES");

test/Test.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ public static void main(String[] args) {
2929
static void checkAllOracleJDKs() {
3030
System.out.println();
3131
System.out.println("// oracle.com - latest");
32+
checkOracleJDK("24", "latest");
3233
checkOracleJDK("23", "latest");
3334
checkOracleJDK("21", "latest");
3435

0 commit comments

Comments
 (0)