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

chris.hegarty at oracle.com chris.hegarty at oracle.com
Mon Jun 10 14:00:43 UTC 2019


Changeset: f72f801b00bd
Author:    hseigel
Date:      2019-06-10 09:52 -0400
URL:       http://hg.openjdk.java.net/jdk/sandbox/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-sandbox-changes mailing list