[Nestmates] RFR (S): Support access to VM annotations from nonfindable classes
vladimir.x.ivanov at oracle.com
Thu Nov 1 08:13:14 UTC 2018
FTR some time ago I tried a different approach based on access checks
provided by the module system . It covers broader scope in a uniform
manner, but also more involved and doesn't fit well existing class
loading machinery .
 It does proper access checks very late in the class loading process
optimistically assuming all annotations are accessible and initiate
reparsing if any of used ones aren't accessible to the class being loaded.
On 31/10/2018 14:18, Lois Foltan wrote:
> Please review the following change as part of the ongoing prototyping
> work to support MethodHandle Lookup functionality to define a nestmate
> class. In particular this fix allows access to VM annotations for
> nonfindable classes.
> bug: https://bugs.openjdk.java.net/browse/JDK-8171335
More information about the valhalla-dev