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

Michael Rasmussen michael.rasmussen at zeroturnaround.com
Tue Jan 3 09:40:54 UTC 2017


I really hope that some official API makes the cut.


In the case of defineClass, java.lang.reflect.Proxy also needs this
functionality, and uses its own native defineClass0 in order to inject the
proxy classes into the correct class loader.
I don't know if making that defineClass method accessible would be
appropriate, but considering many of the libraries out there are creating
proxies or proxy-like classes, perhaps it would be?

/Michael


More information about the jigsaw-dev mailing list