Request for review: 8015385 Remove RelaxAccessControlCheck for JDK 8 bytecodes

harold seigel harold.seigel at oracle.com
Wed May 29 06:25:52 PDT 2013


Hi,

Please review this fix for bug 8015385.

This fix removes the use of the RelaxAccessControlCheck option for 
bytecode versions >= 52 and so requires the stricter access checking 
that previously could be avoided by using this option. Note that the 
original purpose of this option was for use with pre-Java_1_5 bytecodes 
that did not contain the necessary accessors needed to properly access 
private fields.

This change was tested with JCK lang and vm tests, UTE vm.quick.testlist 
and vm.mlvm.testlist tests, JPRT, and jtreg tests. Tests were run on 
Linux and Solaris.

Open webrev at http://cr.openjdk.java.net/~hseigel/bug_8015385/ 
<http://cr.openjdk.java.net/%7Ehseigel/bug_8015385/>

Bug link at http://bugs.sun.com/view_bug.do?bug_id=8015385

Thanks, Harold


More information about the hotspot-runtime-dev mailing list