RFR  8137058: Clear out all non-Critical APIs from sun.reflect and move to jdk.unsupported
chris.hegarty at oracle.com
Wed Apr 13 15:43:07 UTC 2016
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.
More information about the core-libs-dev