RFR (XS) 8207944: java.lang.ClassFormatError: Extra bytes at the end of class file test" possibly violation of JVMS 4.7.1
Lois Foltan
lois.foltan at oracle.com
Thu Jul 26 18:59:11 UTC 2018
Hi Harold,
This fix looks good and also I believe trivial enough to push.
Lois
On 7/26/2018 1:05 PM, Harold David Seigel wrote:
> Hi,
>
> Please review this JDK-11 fix for bug JDK-8207944. The fix adds
> necessary handling of unknown attributes when the class file version
> >= JAVA_11_VERSION. Without this fix, the class file bytes for those
> attributes do not get skipped over when parsing the class file,
> corrupting further parsing of the class file.
>
> Open Webrev: http://cr.openjdk.java.net/~hseigel/bug_8207944_11/webrev/
>
> JBS Bug: https://bugs.openjdk.java.net/browse/JDK-8207944
>
> This fix was regression tested by running JCK Lang and VM tests on
> Linux-x64 and by running the new test. Testing that consists of
> running Mach5 tiers 1 and 2 tests and builds on Linux-X64, Windows,
> Solaris Sparc, and Mac OS X, and running tiers 3-5 tests on Linux-x64,
> is in progress.
>
> Thanks, Harold
>
More information about the hotspot-runtime-dev
mailing list