1 # No translation needed 2 com.sun.crypto.provider.SunJCE=Use java.security.Security.getProvider(provider-name) @since 1.3 3 com.sun.org.apache.xml.internal.security=Use java.xml.crypto @since 1.6 4 com.sun.org.apache.xml.internal.security.utils.Base64=Use java.util.Base64 @since 1.8 5 com.sun.org.apache.xml.internal.resolver=Use javax.xml.catalog @since 9 6 com.sun.net.ssl=Use javax.net.ssl @since 1.4 7 com.sun.net.ssl.internal.ssl.Provider=Use java.security.Security.getProvider(provider-name) @since 1.3 8 com.sun.rowset=Use javax.sql.rowset.RowSetProvider @since 1.7 9 com.sun.tools.javac.tree=Use com.sun.source @since 1.6 10 com.sun.tools.javac=Use javax.tools and javax.lang.model @since 1.6 11 java.awt.peer=Should not use. See https://bugs.openjdk.java.net/browse/JDK-8037739 12 java.awt.dnd.peer=Should not use. See https://bugs.openjdk.java.net/browse/JDK-8037739 13 jdk.internal.ref.Cleaner=Use java.lang.ref.PhantomReference @since 1.2 or java.lang.ref.Cleaner @since 9 14 sun.awt.CausedFocusEvent=Use java.awt.event.FocusEvent::getCause @since 9 15 sun.font.FontUtilities=See java.awt.Font.textRequiresLayout @since 9 16 sun.reflect.Reflection=Use java.lang.StackWalker @since 9 17 sun.reflect.ReflectionFactory=See http://openjdk.java.net/jeps/260 18 sun.misc.Unsafe=See http://openjdk.java.net/jeps/260 19 sun.misc.Signal=See http://openjdk.java.net/jeps/260 20 sun.misc.SignalHandler=See http://openjdk.java.net/jeps/260 21 sun.security.action=Use java.security.PrivilegedAction @since 1.1 22 sun.security.krb5=Use com.sun.security.jgss 23 sun.security.provider.PolicyFile=Use java.security.Policy.getInstance("JavaPolicy", new URIParameter(uri)) @since 1.6 24 sun.security.provider.Sun=Use java.security.Security.getProvider(provider-name) @since 1.3 25 sun.security.util.HostnameChecker=Use javax.net.ssl.SSLParameters.setEndpointIdentificationAlgorithm("HTTPS") @since 1.7\n\ 26 or javax.net.ssl.HttpsURLConnection.setHostnameVerifier() @since 1.4 27 sun.security.util.SecurityConstants=Use appropriate java.security.Permission subclass @since 1.1 28 sun.security.x509.X500Name=Use javax.security.auth.x500.X500Principal @since 1.4 29 sun.tools.jar=Use java.util.jar or jar tool @since 1.2 30 # Internal APIs removed in JDK 9 31 com.apple.eawt=Use java.awt.Desktop and JEP 272 @since 9 32 com.apple.concurrent=Removed. See https://bugs.openjdk.java.net/browse/JDK-8148187 33 com.sun.image.codec.jpeg=Use javax.imageio @since 1.4 34 sun.awt.image.codec=Use javax.imageio @since 1.4 35 sun.misc.BASE64Encoder=Use java.util.Base64 @since 1.8 36 sun.misc.BASE64Decoder=Use java.util.Base64 @since 1.8 37 sun.misc.Cleaner=Use java.lang.ref.PhantomReference @since 1.2 or java.lang.ref.Cleaner @since 9 38 sun.misc.Service=Use java.util.ServiceLoader @since 1.6 39 sun.misc=Removed. See http://openjdk.java.net/jeps/260 40 sun.reflect=Removed. See http://openjdk.java.net/jeps/260 41 42 43