mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8306584: Start of release updates for JDK 22
8306585: Add SourceVersion.RELEASE_22 8306586: Add source 22 and target 22 to javac Reviewed-by: erikj, iris, dholmes, jlahoda, alanb
This commit is contained in:
parent
bb377b2673
commit
5a706fb403
69 changed files with 5954 additions and 52 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2012, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2012, 2023, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -55,7 +55,9 @@ public class ClassVersionChecker {
|
|||
EIGHTEEN("18", 62),
|
||||
NINETEEN("19", 63),
|
||||
TWENTY("20", 64),
|
||||
TWENTY_ONE("21", 65);
|
||||
TWENTY_ONE("21", 65),
|
||||
TWENTY_TWO("22", 66),
|
||||
; // Reduce code churn when appending new constants
|
||||
|
||||
private Version(String release, int classFileVer) {
|
||||
this.release = release;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue