Suggestion: allow accessible reflection on protected methods of exported types.

Alan Bateman Alan.Bateman at oracle.com
Tue Jan 10 17:54:38 UTC 2017


On 10/01/2017 17:16, Andrew Dinn wrote:

> :
> The version which uses Lookups only needs to tweak the exports for one
> module i.e. java.base. It modifies java.base to 'export open' package
> java.lang.invoke to the Byteman module. That then allows Byteman to call
> the private constructor for MethodHandle.Lookup()
Could you use MethodsHandles.privateLookupIn here instead?

-Alan


More information about the jigsaw-dev mailing list