hg: jdk/jdk11: 8207944: java.lang.ClassFormatError: Extra bytes at the end of class file test" possibly violation of JVMS 4.7.1
harold.seigel at oracle.com
harold.seigel at oracle.com
Thu Jul 26 19:57:09 UTC 2018
Changeset: 9d49099287b1
Author: hseigel
Date: 2018-07-26 15:56 -0400
URL: http://hg.openjdk.java.net/jdk/jdk11/rev/9d49099287b1
8207944: java.lang.ClassFormatError: Extra bytes at the end of class file test" possibly violation of JVMS 4.7.1
Summary: Add code to skip over unknown attributes when class file version >= 11.
Reviewed-by: lfoltan
! src/hotspot/share/classfile/classFileParser.cpp
+ test/hotspot/jtreg/runtime/classFileParserBug/UnknownAttr.jcod
+ test/hotspot/jtreg/runtime/classFileParserBug/UnknownAttrTest.java
More information about the jdk-changes
mailing list