RFR: nestmates and methodhandles

Stas Smirnov stanislav.smirnov at oracle.com
Thu Feb 25 13:12:45 UTC 2016


Hello,

please review this set of tests to verify "parent-child" access using 
MethodHandle in terms of nestmates vm exploration.
1. MethodHandleSubTop class contains methods to verify private/protected 
methods/fields of the "super" class using MethodHandle from a single one 
and double level of nesting using access static bridges and direct 
access in negative and positive test cases
2. MethodHandleInheritTest executes a number of positive and negative 
test cases using MethodHandleSubTop methods
it will allow us to verify current implementation and future, when 
access bridges will be removed and MethodHandle access checks will be 
modified.

webrev: http://cr.openjdk.java.net/~stsmirno/nestmates/webrev.01
Testing: RBT

-- 
Best regards,
Stanislav




More information about the valhalla-dev mailing list