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:
Joe Darcy 2023-12-07 17:01:29 +00:00 committed by Jesper Wilhelmsson
parent 86f9b3f52a
commit 519ecd352a
98 changed files with 4872 additions and 44 deletions

View file

@ -23,7 +23,7 @@
/*
* @test
* @bug 7157626 8001112 8188870 8173382 8193290 8205619 8245586 8257453
* @bug 7157626 8001112 8188870 8173382 8193290 8205619 8245586 8257453 8306586
* @summary Test major version for all legal combinations for -source and -target
* @author sgoel
*
@ -57,6 +57,7 @@ public class ClassVersionChecker {
TWENTY("20", 64),
TWENTY_ONE("21", 65),
TWENTY_TWO("22", 66),
TWENTY_THREE("23", 67),
; // Reduce code churn when appending new constants
private Version(String release, int classFileVer) {