General question: sun package -> jdk package?

Chris Hegarty chris.hegarty at oracle.com
Tue Dec 15 15:15:11 UTC 2015


Paul,

I cannot address your general question, but I guess it might be motivated
by some of my recent preparatory work for JEP 260 [1]. This JEP proposes
to expose a small number of critical API’s that are in the sun.misc and
sun.reflect namespace. Anything not deemed critical should be removed
from these packages, since it should not be exposed.  There is also a
significant amount of technical debt in these packages.

-Chris.

[1] https://bugs.openjdk.java.net/browse/JDK-8132928

On 15 Dec 2015, at 15:09, Paul Benedict <pbenedict at apache.org> wrote:

> I have a general question prompted by the many classes moved from sun.* to
> jdk.*. Once JDK 9 delivers on the Module System and internals are no longer
> exposed, is it planned to eventually migrate away from the sun.* legacy
> namespace in later JDK versions?
> 
> Cheers,
> Paul




More information about the core-libs-dev mailing list