[Nestmates] RFR (S): Support access to VM annotations from nonfindable classes
mandy.chung at oracle.com
Fri Nov 2 15:38:21 UTC 2018
Thanks for the link and webrev. The module access was also one thing
I considered how to get access to these VM annotation. This may
worth revisiting when we gather more use cases where user code
requires access to these annotation.
On 11/1/18 1:13 AM, Vladimir Ivanov wrote:
> 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 .
> Best regards,
> Vladimir Ivanov
>  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