8205615: Start of release updates for JDK 12

8205621: Increment JDK version for JDK 12
8193292: Add SourceVersion.RELEASE_12
8193290: Add source 12 and target 12 to javac
8205619: Bump maximum recognized class file version to 56 for JDK 12

Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Mikael Vidstedt <mikael.vidstedt@oracle.com>
Reviewed-by: alanb, smarks, jjg, mr, erikj, psandoz, dholmes
This commit is contained in:
Joe Darcy 2018-06-27 21:01:12 -07:00
parent bc45576579
commit e56162b43d
45 changed files with 178 additions and 128 deletions

View file

@ -117,6 +117,8 @@
#define JAVA_11_VERSION 55
#define JAVA_12_VERSION 56
void ClassFileParser::set_class_bad_constant_seen(short bad_constant) {
assert((bad_constant == 19 || bad_constant == 20) && _major_version >= JAVA_9_VERSION,
"Unexpected bad constant pool entry");