[10] RFR 8191510: Bump classfile version number to 54

joe darcy joe.darcy at oracle.com
Mon Dec 4 17:59:45 UTC 2017

On 12/3/2017 11:20 PM, Remi Forax wrote:
> On December 4, 2017 2:53:40 AM GMT+01:00, Ryan Schmitt <rschmitt at pobox.com> wrote:
>>> The intent is that the class file version will increment with every
>> major
>> release (regardless of if there are no features that mandate a class
>> file
>> change).
>> What is the motivation for doing so?
> Having a simple bijection between the Java version and the class file version.
> This is not something new, the version 50 (I let you find the corresponding Java version :) ) has no new bytecode related feature by example.

The policy of bumping the class file version with each major release 
provide a mechanism for applications and libraries to implicitly encode 
the minimum JDK version whose feature are needed to run the code in 


More information about the jdk-dev mailing list