mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8267630: Start of release updates for JDK 18
8267632: Add source 18 and target 18 to javac 8267631: Add SourceVersion.RELEASE_18 Reviewed-by: iris, erikj, dholmes
This commit is contained in:
parent
74007890bb
commit
b018c450e5
63 changed files with 5352 additions and 60 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2012, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2012, 2021, 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
|
||||
|
@ -52,7 +52,8 @@ public class ClassVersionChecker {
|
|||
FOURTEEN("14", 58),
|
||||
FIFTEEN("15", 59),
|
||||
SIXTEEN("16", 60),
|
||||
SEVENTEEN("17", 61);
|
||||
SEVENTEEN("17", 61),
|
||||
EIGHTEEN("18", 62);
|
||||
|
||||
private Version(String release, int classFileVer) {
|
||||
this.release = release;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue