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.

Unsupported API (not for use)Supported APIs to be used instead(please use instead)Note
sun.iojava.nio.charsets 

sun.misc.Base64Decoder, sun.misc.Base64Endcoder

java.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