RFR [9] Moved sun.misc.ProxyGenerator to jdk.internal.reflect
Mandy Chung
mandy.chung at oracle.com
Tue Dec 15 17:15:30 UTC 2015
> On Dec 15, 2015, at 4:00 AM, Chris Hegarty <chris.hegarty at oracle.com> wrote:
>
> No new code here, just giving sun.misc.ProxyGenerator a more appropriate
> location, in jdk.internal.reflect ( since it contains the code to generate a dynamic
> proxy class for the java.lang.reflect.Proxy ).
>
> http://cr.openjdk.java.net/~chegar/proxyGeneratorWebrev/webrev/
>
> Note: ProxyGenerator could be moved into java.lang.reflect, as a
> package-private class, but I see no reason to move it into an exported
> package, and a package that it not on the restricted package list.
ProxyGenerator is only used by Proxy (it was used by other JDK code previously). I would prefer it moving to java.lang.reflect as package-private class in java.lang.reflect since we are moving it.
Mandy
More information about the core-libs-dev
mailing list