src/share/vm/classfile/classFileParser.cpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
*** old/src/share/vm/classfile/classFileParser.cpp Wed Feb 3 08:00:20 2016
--- new/src/share/vm/classfile/classFileParser.cpp Wed Feb 3 08:00:18 2016
*** 77,87 ****
--- 77,87 ----
// We add assert in debug mode when class format is not checked.
#define JAVA_CLASSFILE_MAGIC 0xCAFEBABE
#define JAVA_MIN_SUPPORTED_VERSION 45
! #define JAVA_MAX_SUPPORTED_VERSION 52
! #define JAVA_MAX_SUPPORTED_VERSION 53
#define JAVA_MAX_SUPPORTED_MINOR_VERSION 0
// Used for two backward compatibility reasons:
// - to check for new additions to the class file format in JDK1.5
// - to check for bug fixes in the format checker in JDK1.5
*** 98,107 ****
--- 98,110 ----
#define JAVA_7_VERSION 51
// Extension method support.
#define JAVA_8_VERSION 52
+ // New 'Module' attribute
+ #define JAVA_9_VERSION 53
+
enum { LegalClass, LegalField, LegalMethod }; // used to verify unqualified names
void ClassFileParser::parse_constant_pool_entries(const ClassFileStream* const stream,
ConstantPool* cp,
const int length,
src/share/vm/classfile/classFileParser.cpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File