mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8342979: Start of release updates for JDK 25
8342982: Add SourceVersion.RELEASE_25 8342983: Add source 25 and target 25 to javac Co-authored-by: Joe Darcy <darcy@openjdk.org> Reviewed-by: iris, darcy, erikj, dholmes
This commit is contained in:
parent
85fedbf668
commit
5cc150c636
98 changed files with 6173 additions and 49 deletions
|
@ -641,6 +641,12 @@ public sealed interface ClassFile
|
|||
/** The class major version of JAVA_24. */
|
||||
int JAVA_24_VERSION = 68;
|
||||
|
||||
/**
|
||||
* The class major version of JAVA_25.
|
||||
* @since 25
|
||||
*/
|
||||
int JAVA_25_VERSION = 69;
|
||||
|
||||
/**
|
||||
* A minor version number indicating a class uses preview features
|
||||
* of a Java SE version since 12, for major versions {@value
|
||||
|
@ -652,7 +658,7 @@ public sealed interface ClassFile
|
|||
* {@return the latest major Java version}
|
||||
*/
|
||||
static int latestMajorVersion() {
|
||||
return JAVA_24_VERSION;
|
||||
return JAVA_25_VERSION;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue