Alternative mechanism for reflective access control (#ReflectiveAccessToNonExportedTypes / #AwkwardStrongEncapsulation)
Alan Bateman
Alan.Bateman at oracle.com
Wed Sep 28 18:09:00 UTC 2016
On 28/09/2016 13:22, Andrew Dinn wrote:
> :
> I'd be happy to try to conduct such an experiment. Can you provide links
> to the relevant JIRAs.
The javadoc for MethodsHandes.Lookup is probably the best place to
start, assuming you haven't used it before. This has a good section to
explain how access checking differs to core reflection.
JDK-8162494 [1] is one issue where John has a write-up with some straw
man designs. I suspect it will require working through a few specific
examples to get a feel for what is the right direction.
-Alan
[1] https://bugs.openjdk.java.net/browse/JDK-8162494
More information about the jigsaw-dev
mailing list