8284858: Start of release updates for JDK 20

8286035: Add source 20 and target 20 to javac
8286034: Add SourceVersion.RELEASE_20

Reviewed-by: dholmes, kcr, iris, erikj, jjg, ihse
This commit is contained in:
Joe Darcy 2022-06-09 16:16:49 +00:00 committed by Erik Joelsson
parent 267144311c
commit edff51e5fd
69 changed files with 6448 additions and 50 deletions

View file

@ -141,6 +141,8 @@
#define JAVA_19_VERSION 63
#define JAVA_20_VERSION 64
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,