hg: jdk/jdk: 8224952: RI deviates from JVMS - non-zero minor_version for class files throws UnsupportedClassVersionError.

harold.seigel at oracle.com harold.seigel at oracle.com
Mon Jun 10 13:52:31 UTC 2019


Changeset: f72f801b00bd
Author:    hseigel
Date:      2019-06-10 09:52 -0400
URL:       http://hg.openjdk.java.net/jdk/jdk/rev/f72f801b00bd

8224952: RI deviates from JVMS - non-zero minor_version for class files throws UnsupportedClassVersionError.
Summary: Change the JVM to follow the JVM Spec and accept non-zero minor_version for appropriate older class file versions.
Reviewed-by: acorn, dholmes, iignatyev

! src/hotspot/share/classfile/classFileParser.cpp
! test/hotspot/jtreg/runtime/ClassFile/PreviewVersion.java



More information about the jdk-all-changes mailing list