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:
Joe Darcy 2021-06-10 16:22:14 +00:00
parent 74007890bb
commit b018c450e5
63 changed files with 5352 additions and 60 deletions

View file

@ -137,6 +137,8 @@
#define JAVA_17_VERSION 61
#define JAVA_18_VERSION 62
void ClassFileParser::set_class_bad_constant_seen(short bad_constant) {
assert((bad_constant == JVM_CONSTANT_Module ||
bad_constant == JVM_CONSTANT_Package) && _major_version >= JAVA_9_VERSION,