8257450: Start of release updates for JDK 17

8257451: Add SourceVersion.RELEASE_17
8257453: Add source 17 and target 17 to javac

Reviewed-by: dholmes, erikj, iris, mikael, jjg, jlahoda, jwilhelm, mchung, ihse
This commit is contained in:
Joe Darcy 2020-12-10 16:46:28 +00:00
parent d163c6fe2e
commit 6be1f5671e
77 changed files with 7607 additions and 59 deletions

View file

@ -135,6 +135,8 @@
#define JAVA_16_VERSION 60
#define JAVA_17_VERSION 61
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,