mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8319413: Start of release updates for JDK 23
8319414: Add SourceVersion.RELEASE_23 8319416: Add source 23 and target 23 to javac Reviewed-by: iris, erikj, alanb, vromero
This commit is contained in:
parent
86f9b3f52a
commit
519ecd352a
98 changed files with 4872 additions and 44 deletions
|
@ -1475,6 +1475,9 @@ public sealed interface ClassFile
|
|||
/** The class major version of JAVA_22. */
|
||||
int JAVA_22_VERSION = 66;
|
||||
|
||||
/** 67 */
|
||||
int JAVA_23_VERSION = 67;
|
||||
|
||||
/**
|
||||
* A minor version number indicating a class uses preview features
|
||||
* of a Java SE version since 12, for major versions {@value
|
||||
|
@ -1486,7 +1489,7 @@ public sealed interface ClassFile
|
|||
* {@return the latest major Java version}
|
||||
*/
|
||||
static int latestMajorVersion() {
|
||||
return JAVA_22_VERSION;
|
||||
return JAVA_23_VERSION;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue