- Loading...
...
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.io | java.nio.charsets | |
sun.misc.Base64Decoder, sun.misc.Base64Endcoder | java.util.Base64 | |
| sun.misc.Unsafe | TBD | A JEP will be submitted to define a supported API |
| sun.reflect.Reflection.getCallerClass | TBD | A JEP will be submitted to define a supported API |
| sun.security.x509.X500Name | javax.security.auth.x500.X500Principal | |
| com.sun.tools.javac.** | javax.tools and javax.lang.model | com.sun.tools.javac.Main is a supported API. |
| com.sun.net.ssl | javax.net.ssl | |
| com.sun.rowset | javax.sql.rowset.RowSetProvider |