RFR 8152645 VarHandle lookup access control tests

Paul Sandoz paul.sandoz at oracle.com
Thu Apr 7 09:07:48 UTC 2016


Hi,

Please review a test to verify access control of looking up fields using a VarHandle:

  http://cr.openjdk.java.net/~psandoz/jdk9/JDK-8152645-VH-access-control/webrev/ <http://cr.openjdk.java.net/~psandoz/jdk9/JDK-8152645-VH-access-control/webrev/>

For completeness i also added tests for MH as i could not find any such existing tests.


Further follow on work might be to test lookup to fields across module boundaries.

Paul.



More information about the core-libs-dev mailing list