RFR (XS) 8207944: java.lang.ClassFormatError: Extra bytes at the end of class file test" possibly violation of JVMS 4.7.1
Harold David Seigel
harold.seigel at oracle.com
Fri Jul 27 11:31:51 UTC 2018
Thanks Karen!
Harold
On 7/26/2018 4:25 PM, Karen Kinnear wrote:
> Ship it.
>
> thanks,
> Karen
>
>> On Jul 26, 2018, at 1:05 PM, Harold David Seigel <harold.seigel at oracle.com> 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