Summary
Increment the maximum recognized class file major version number from 54 to 55 in JDK 11.
Problem
For every major release the class file major version number should be incremented, regardless of if there are any changes that mandate such a change.
Solution
The platform will be modified so tools such as the Java compiler and launcher will consume and produce 55 version class files.
Specification
The class file format version ranges table (table 4.1-A in The Java® Virtual Machine Specification Java SE 10 Edition) will be updated to include an entry:
Java SE class file format version range
11 45.0 ≤ v ≤ 55.0
- csr of
-
JDK-8191913 Bump classfile version number to 55
-
- Resolved
-
- relates to
-
JDK-8205642 Bump maximum recognized class file version to 56 for JDK 12
-
- Closed
-