- Loading...
...
Unsupported API (not for use) | Supported APIs (please use instead) | Note |
---|---|---|
sun.io | java.nio.charsets | |
sun.misc.BASE64Decoder, sun.misc.BASE64Encoder, | java.util.Base64 | See http://openjdk.java.net/jeps/135 |
sun.misc.ClassLoaderUtil | java.net.URLClassLoader.close() | |
sun.misc.Service | java.util.ServiceLoader | |
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.action.GetPropertyAction | System.getProperty | AccessController.doPrivileged( |
sun.security.krb5.* | Some provided in com.sun.security.jgss | If internal classes is are used to get the session key of Krb5Context, we now have ExtendedGSSContext for this purpose. There are still many more functions not available yet. |
sun.security.x509.X500Name | javax.security.auth.x500.X500Principal | |
com.sun.image.codec.jpeg.** | javax.imageio | See JDK-6527962 |
com.sun.org.apache.xml.internal.security | javax.xml.crypto | |
com.sun.net.ssl.** | javax.net.ssl | |
security provider implementation class such as
| java.security.Security.getProvider("SUN") | See Oracle security providers documentation |
com.sun.rowset.** | javax.sql.rowset.RowSetProvider | |
com.sun.tools.javac.** | com.sun.tools.javac.Main is a supported API. |