mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8330182: Start of release updates for JDK 24
8330183: Add SourceVersion.RELEASE_24 8330184: Add source 24 and target 24 to javac Reviewed-by: iris, vromero, asotona, dholmes
This commit is contained in:
parent
054362abe0
commit
75dc2f8518
50 changed files with 2076 additions and 64 deletions
|
@ -1481,6 +1481,12 @@ public sealed interface ClassFile
|
|||
*/
|
||||
int JAVA_23_VERSION = 67;
|
||||
|
||||
/**
|
||||
* The class major version of JAVA_24.
|
||||
* @since 24
|
||||
*/
|
||||
int JAVA_24_VERSION = 68;
|
||||
|
||||
/**
|
||||
* A minor version number indicating a class uses preview features
|
||||
* of a Java SE version since 12, for major versions {@value
|
||||
|
@ -1492,7 +1498,7 @@ public sealed interface ClassFile
|
|||
* {@return the latest major Java version}
|
||||
*/
|
||||
static int latestMajorVersion() {
|
||||
return JAVA_23_VERSION;
|
||||
return JAVA_24_VERSION;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue