8225361: Start of release updates for JDK 15

8235497: Add SourceVersion.RELEASE_15
8235528: Add source 15 and target 15 to javac

Reviewed-by: erikj, jjg, jlahoda, dholmes, alanb, hseigel, mikael, chegar
This commit is contained in:
Joe Darcy 2019-12-10 16:38:53 -08:00
parent 8a54d97a4d
commit 890826bf5b
53 changed files with 714 additions and 121 deletions

View file

@ -128,6 +128,8 @@
#define JAVA_14_VERSION 58
#define JAVA_15_VERSION 59
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,