RFR  8137058: Clear out all non-Critical APIs from sun.reflect and move to jdk.unsupported
joel.borggren.franck at gmail.com
Wed Apr 13 20:44:51 UTC 2016
FWIW changes looks good to me.
On Wed, 13 Apr 2016 at 17:43 Chris Hegarty <chris.hegarty at oracle.com> wrote:
> This review is for the second significant part of the changes for JEP
> 260 . When created, the jdk.unsupported module  initially
> contained the sun.misc package. This issue is will move all the
> non-Critical APIs out of sun.reflect, leaving only the critical ones, at
> which point sun.reflect can be moved to the jdk.unsupported module.
> Summary of the changes:
> - Move all existing sun.reflect types to jdk.internal.reflect, and
> fix up references in the libraries, and the VM, to use the new internal
> - Update tests, as appropriate, to use the new location.
> - Add the minimal set of critical APIs to jdk.unsupported/sun.reflect.
> These ultimately delegate to the internal versions. Additionally, a
> few new tests have been added to exercise these.
>  https://bugs.openjdk.java.net/browse/JDK-8132928
>  https://bugs.openjdk.java.net/browse/JDK-8153737
More information about the core-libs-dev