RFR (XS) 8076236: VM permits illegal flags for class init method
David Holmes
david.holmes at oracle.com
Fri Apr 3 01:12:38 UTC 2015
Hi Harold,
Seems like a reasonable fix to become compliant with the spec, but it is
technically a compatability issue. There may be generated bytecode out
there from tools that didn't do the right thing with access modifiers
and it will now be rejected. Possibly okay for 9 but I wouldn't backport
this.
David
On 1/04/2015 10:11 PM, harold seigel wrote:
> Hi,
>
> Please review this small fix for JDK-8076236. The fix moves the check
> for multiple access flags so that it covers all methods in a class
> including instance initialization methods.
>
> Open webrev: http://cr.openjdk.java.net/~hseigel/bug_8076236/
>
> JBS Bug: https://bugs.openjdk.java.net/browse/JDK-8076236
>
> The fix was tested with the JCK lang, vm, and api tests, hotspot jtreg
> tests, testbase split_verifier and quick tests, and the test cases
> provided in the bug. No new tests are included with this fix because
> new JCK tests will test this.
>
> Thanks, Harold
More information about the hotspot-runtime-dev
mailing list