Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Below lists some of the JDK internal APIs and the recommended way to replace their usage.

JDK internal Unsupported APISupported API(s) to be used insteadNote
sun.iojava.nio.charsets 
sun.misc.Base64java.util.Base64 
sun.misc.UnsafeTBDA JEP will be submitted to define a supported API
sun.reflect.Reflection.getCallerClassTBDA JEP will be submitted to define a supported API
sun.security.x509.X500Namejavax.security.auth.x500.X500Principal 
com.sun.tools.javac.**javax.tools and javax.lang.modelcom.sun.tools.javac.Main is a supported API.
com.sun.net.ssljavax.net.ssl 
com.sun.rowsetjavax.sql.rowset.RowSetProvider