replace classes from sun.security.* packages
问题 I'm trying to upgrade an app from JDK7 to JDK8 which uses the following classes from the sun.security.* packages sun.security.x509.X509CertImpl sun.security.pkcs11.SunPKCS11 sun.security.util.DerOutputStream sun.security.util.DerValue sun.security.util.ObjectIdentifier sun.security.pkcs.PKCS10 sun.security.x509.X500Name sun.security.pkcs11.SunPKCS11 sun.security.pkcs11.wrapper.CK_TOKEN_INFO sun.security.pkcs.PKCS10 The usage of these classes generates warnings in all cases except for sun