Feedback on proposal for #ReflectiveAccessToNonExportedTypes

Alan Bateman Alan.Bateman at oracle.com
Sat Jul 9 09:02:41 UTC 2016


On 09/07/2016 09:57, Simon Nash wrote:

>
> Is it really a good idea to encourage packages that currently use 
> reflection
> to access non-exported private fields (an official part of the Java 
> API) to
> change to using internal APIs?  This seems like a step backwards to me.
I didn't suggest that. I was just pointing out that some of the 3rd 
party serialization libraries that we've come across are based on Unsafe 
and ReflectionFactory and the latter is specifically on critical 
internal API for that reason.

-Alan


More information about the jigsaw-dev mailing list