hg: jdk8/tl/jdk: 7064075: Security libraries don't build with javac -Xlint:all, -deprecation -Werror

jonathan.gibbons at oracle.com jonathan.gibbons at oracle.com
Mon Aug 15 21:31:35 UTC 2011


Changeset: afb6f2370cd3
Author:    jjg
Date:      2011-08-15 11:48 -0700
URL:       http://hg.openjdk.java.net/jdk8/tl/jdk/rev/afb6f2370cd3

7064075: Security libraries don't build with javac -Xlint:all,-deprecation -Werror
Reviewed-by: xuelei, mullan
Contributed-by: alexandre.boulgakov at oracle.com

! make/com/sun/crypto/provider/Makefile
! make/com/sun/security/Makefile
! make/java/security/Makefile
! make/javax/crypto/Makefile
! make/sun/security/Makefile
! make/sun/security/ec/Makefile
! make/sun/security/other/Makefile
! make/sun/security/pkcs11/Makefile
! src/share/classes/com/sun/crypto/provider/AESCrypt.java
! src/share/classes/com/sun/crypto/provider/AESParameters.java
! src/share/classes/com/sun/crypto/provider/BlockCipherParamsCore.java
! src/share/classes/com/sun/crypto/provider/BlowfishParameters.java
! src/share/classes/com/sun/crypto/provider/CipherBlockChaining.java
! src/share/classes/com/sun/crypto/provider/CipherCore.java
! src/share/classes/com/sun/crypto/provider/DESCrypt.java
! src/share/classes/com/sun/crypto/provider/DESKey.java
! src/share/classes/com/sun/crypto/provider/DESKeyFactory.java
! src/share/classes/com/sun/crypto/provider/DESParameters.java
! src/share/classes/com/sun/crypto/provider/DESedeKey.java
! src/share/classes/com/sun/crypto/provider/DESedeKeyFactory.java
! src/share/classes/com/sun/crypto/provider/DESedeParameters.java
! src/share/classes/com/sun/crypto/provider/DESedeWrapCipher.java
! src/share/classes/com/sun/crypto/provider/DHKeyFactory.java
! src/share/classes/com/sun/crypto/provider/DHParameterGenerator.java
! src/share/classes/com/sun/crypto/provider/DHParameters.java
! src/share/classes/com/sun/crypto/provider/DHPrivateKey.java
! src/share/classes/com/sun/crypto/provider/DHPublicKey.java
! src/share/classes/com/sun/crypto/provider/EncryptedPrivateKeyInfo.java
! src/share/classes/com/sun/crypto/provider/HmacCore.java
! src/share/classes/com/sun/crypto/provider/JceKeyStore.java
! src/share/classes/com/sun/crypto/provider/KeyProtector.java
! src/share/classes/com/sun/crypto/provider/OAEPParameters.java
! src/share/classes/com/sun/crypto/provider/PBECipherCore.java
! src/share/classes/com/sun/crypto/provider/PBEKey.java
! src/share/classes/com/sun/crypto/provider/PBEKeyFactory.java
! src/share/classes/com/sun/crypto/provider/PBEParameters.java
! src/share/classes/com/sun/crypto/provider/PBKDF2HmacSHA1Factory.java
! src/share/classes/com/sun/crypto/provider/PBKDF2KeyImpl.java
! src/share/classes/com/sun/crypto/provider/PCBC.java
! src/share/classes/com/sun/crypto/provider/RC2Cipher.java
! src/share/classes/com/sun/crypto/provider/RC2Parameters.java
! src/share/classes/com/sun/crypto/provider/RSACipher.java
! src/share/classes/com/sun/crypto/provider/SunJCE.java
! src/share/classes/com/sun/crypto/provider/TlsKeyMaterialGenerator.java
! src/share/classes/com/sun/crypto/provider/TlsMasterSecretGenerator.java
! src/share/classes/com/sun/security/auth/PolicyFile.java
! src/share/classes/com/sun/security/auth/SubjectCodeSource.java
! src/share/classes/com/sun/security/auth/module/JndiLoginModule.java
! src/share/classes/com/sun/security/auth/module/KeyStoreLoginModule.java
! src/share/classes/com/sun/security/auth/module/Krb5LoginModule.java
! src/share/classes/com/sun/security/auth/module/LdapLoginModule.java
! src/share/classes/com/sun/security/jgss/InquireSecContextPermission.java
! src/share/classes/com/sun/security/ntlm/NTLMException.java
! src/share/classes/com/sun/security/sasl/CramMD5Server.java
! src/share/classes/com/sun/security/sasl/digest/DigestMD5Base.java
! src/share/classes/com/sun/security/sasl/digest/DigestMD5Client.java
! src/share/classes/com/sun/security/sasl/digest/DigestMD5Server.java
! src/share/classes/com/sun/security/sasl/gsskerb/GssKrb5Base.java
! src/share/classes/com/sun/security/sasl/gsskerb/GssKrb5Client.java
! src/share/classes/com/sun/security/sasl/gsskerb/GssKrb5Server.java
! src/share/classes/com/sun/security/sasl/ntlm/NTLMClient.java
! src/share/classes/com/sun/security/sasl/ntlm/NTLMServer.java
! src/share/classes/com/sun/security/sasl/util/AbstractSaslImpl.java
! src/share/classes/com/sun/security/sasl/util/PolicyUtils.java
! src/share/classes/java/security/AccessControlContext.java
! src/share/classes/java/security/AccessController.java
! src/share/classes/java/security/BasicPermission.java
! src/share/classes/java/security/Permissions.java
! src/share/classes/java/security/Policy.java
! src/share/classes/java/security/ProtectionDomain.java
! src/share/classes/java/security/Provider.java
! src/share/classes/java/security/Security.java
! src/share/classes/java/security/UnresolvedPermission.java
! src/share/classes/java/security/UnresolvedPermissionCollection.java
! src/share/classes/java/security/cert/CertificateRevokedException.java
! src/share/classes/java/security/cert/X509CRLSelector.java
! src/share/classes/java/security/cert/X509CertSelector.java
! src/share/classes/javax/crypto/Cipher.java
! src/share/classes/javax/crypto/CryptoAllPermission.java
! src/share/classes/javax/crypto/CryptoPermission.java
! src/share/classes/javax/crypto/CryptoPermissions.java
! src/share/classes/javax/crypto/CryptoPolicyParser.java
! src/share/classes/javax/crypto/EncryptedPrivateKeyInfo.java
! src/share/classes/javax/crypto/JarVerifier.java
! src/share/classes/javax/crypto/JceSecurity.java
! src/share/classes/javax/crypto/JceSecurityManager.java
! src/share/classes/javax/crypto/KeyAgreement.java
! src/share/classes/javax/crypto/KeyGenerator.java
! src/share/classes/javax/crypto/Mac.java
! src/share/classes/javax/crypto/SealedObject.java
! src/share/classes/javax/crypto/SecretKeyFactory.java
! src/share/classes/javax/crypto/SecretKeyFactorySpi.java
! src/share/classes/javax/crypto/spec/DESKeySpec.java
! src/share/classes/javax/crypto/spec/DESedeKeySpec.java
! src/share/classes/javax/crypto/spec/IvParameterSpec.java
! src/share/classes/javax/crypto/spec/PBEKeySpec.java
! src/share/classes/javax/crypto/spec/PBEParameterSpec.java
! src/share/classes/javax/crypto/spec/PSource.java
! src/share/classes/javax/crypto/spec/RC2ParameterSpec.java
! src/share/classes/javax/crypto/spec/RC5ParameterSpec.java
! src/share/classes/javax/crypto/spec/SecretKeySpec.java
! src/share/classes/sun/security/acl/AclEntryImpl.java
! src/share/classes/sun/security/action/PutAllAction.java
! src/share/classes/sun/security/ec/ECDSASignature.java
! src/share/classes/sun/security/ec/ECKeyFactory.java
! src/share/classes/sun/security/ec/ECParameters.java
! src/share/classes/sun/security/jca/GetInstance.java
! src/share/classes/sun/security/jca/ProviderList.java
! src/share/classes/sun/security/jca/Providers.java
! src/share/classes/sun/security/jgss/GSSUtil.java
! src/share/classes/sun/security/jgss/krb5/CipherHelper.java
! src/share/classes/sun/security/jgss/krb5/Krb5Context.java
! src/share/classes/sun/security/jgss/krb5/Krb5Util.java
! src/share/classes/sun/security/jgss/krb5/MessageToken.java
! src/share/classes/sun/security/jgss/krb5/SubjectComber.java
! src/share/classes/sun/security/jgss/spnego/SpNegoContext.java
! src/share/classes/sun/security/jgss/wrapper/NativeGSSFactory.java
! src/share/classes/sun/security/jgss/wrapper/SunNativeProvider.java
! src/share/classes/sun/security/krb5/Checksum.java
! src/share/classes/sun/security/krb5/Config.java
! src/share/classes/sun/security/krb5/KrbServiceLocator.java
! src/share/classes/sun/security/krb5/internal/ccache/FileCredentialsCache.java
! src/share/classes/sun/security/pkcs/ContentInfo.java
! src/share/classes/sun/security/pkcs/PKCS10.java
! src/share/classes/sun/security/pkcs/PKCS7.java
! src/share/classes/sun/security/pkcs/PKCS8Key.java
! src/share/classes/sun/security/pkcs/PKCS9Attribute.java
! src/share/classes/sun/security/pkcs/SignerInfo.java
! src/share/classes/sun/security/pkcs11/Config.java
! src/share/classes/sun/security/pkcs11/P11Cipher.java
! src/share/classes/sun/security/pkcs11/P11DHKeyFactory.java
! src/share/classes/sun/security/pkcs11/P11DSAKeyFactory.java
! src/share/classes/sun/security/pkcs11/P11ECKeyFactory.java
! src/share/classes/sun/security/pkcs11/P11Key.java
! src/share/classes/sun/security/pkcs11/P11KeyAgreement.java
! src/share/classes/sun/security/pkcs11/P11KeyFactory.java
! src/share/classes/sun/security/pkcs11/P11KeyStore.java
! src/share/classes/sun/security/pkcs11/P11RSAKeyFactory.java
! src/share/classes/sun/security/pkcs11/P11SecretKeyFactory.java
! src/share/classes/sun/security/pkcs11/P11Signature.java
! src/share/classes/sun/security/pkcs11/P11TlsPrfGenerator.java
! src/share/classes/sun/security/pkcs11/P11Util.java
! src/share/classes/sun/security/pkcs11/Secmod.java
! src/share/classes/sun/security/pkcs11/wrapper/Functions.java
! src/share/classes/sun/security/pkcs11/wrapper/PKCS11Exception.java
! src/share/classes/sun/security/pkcs11/wrapper/PKCS11RuntimeException.java
! src/share/classes/sun/security/pkcs12/PKCS12KeyStore.java
! src/share/classes/sun/security/provider/DSAKeyFactory.java
! src/share/classes/sun/security/provider/DSAParameters.java
! src/share/classes/sun/security/provider/MD4.java
! src/share/classes/sun/security/provider/PolicyFile.java
! src/share/classes/sun/security/provider/certpath/AdaptableX509CertSelector.java
! src/share/classes/sun/security/provider/certpath/Builder.java
! src/share/classes/sun/security/provider/certpath/CrlRevocationChecker.java
! src/share/classes/sun/security/provider/certpath/DistributionPointFetcher.java
! src/share/classes/sun/security/provider/certpath/ForwardBuilder.java
! src/share/classes/sun/security/provider/certpath/ForwardState.java
! src/share/classes/sun/security/provider/certpath/IndexedCollectionCertStore.java
! src/share/classes/sun/security/provider/certpath/OCSP.java
! src/share/classes/sun/security/provider/certpath/OCSPChecker.java
! src/share/classes/sun/security/provider/certpath/OCSPResponse.java
! src/share/classes/sun/security/provider/certpath/PKIXCertPathValidator.java
! src/share/classes/sun/security/provider/certpath/PolicyChecker.java
! src/share/classes/sun/security/provider/certpath/ReverseState.java
! src/share/classes/sun/security/provider/certpath/URICertStore.java
! src/share/classes/sun/security/provider/certpath/Vertex.java
! src/share/classes/sun/security/provider/certpath/X509CertPath.java
! src/share/classes/sun/security/rsa/RSAKeyFactory.java
! src/share/classes/sun/security/rsa/RSASignature.java
! src/share/classes/sun/security/ssl/CipherSuite.java
! src/share/classes/sun/security/ssl/HandshakeMessage.java
! src/share/classes/sun/security/ssl/Handshaker.java
! src/share/classes/sun/security/ssl/JsseJce.java
! src/share/classes/sun/security/ssl/SSLEngineImpl.java
! src/share/classes/sun/security/ssl/SSLSocketImpl.java
! src/share/classes/sun/security/ssl/X509KeyManagerImpl.java
! src/share/classes/sun/security/timestamp/HttpTimestamper.java
! src/share/classes/sun/security/timestamp/TSResponse.java
! src/share/classes/sun/security/tools/JarSigner.java
! src/share/classes/sun/security/tools/KeyTool.java
! src/share/classes/sun/security/tools/TimestampedSigner.java
! src/share/classes/sun/security/tools/policytool/PolicyTool.java
! src/share/classes/sun/security/util/Cache.java
! src/share/classes/sun/security/util/ManifestDigester.java
! src/share/classes/sun/security/util/Password.java
! src/share/classes/sun/security/util/SignatureFileVerifier.java
! src/share/classes/sun/security/validator/SimpleValidator.java
! src/share/classes/sun/security/x509/AVA.java
! src/share/classes/sun/security/x509/AccessDescription.java
! src/share/classes/sun/security/x509/AlgorithmId.java
! src/share/classes/sun/security/x509/AuthorityInfoAccessExtension.java
! src/share/classes/sun/security/x509/CRLDistributionPointsExtension.java
! src/share/classes/sun/security/x509/CRLExtensions.java
! src/share/classes/sun/security/x509/CRLNumberExtension.java
! src/share/classes/sun/security/x509/CRLReasonCodeExtension.java
! src/share/classes/sun/security/x509/CertAndKeyGen.java
! src/share/classes/sun/security/x509/CertificateAlgorithmId.java
! src/share/classes/sun/security/x509/CertificateExtensions.java
! src/share/classes/sun/security/x509/CertificateIssuerExtension.java
! src/share/classes/sun/security/x509/CertificateIssuerUniqueIdentity.java
! src/share/classes/sun/security/x509/CertificatePoliciesExtension.java
! src/share/classes/sun/security/x509/CertificatePolicyId.java
! src/share/classes/sun/security/x509/CertificateSerialNumber.java
! src/share/classes/sun/security/x509/CertificateSubjectUniqueIdentity.java
! src/share/classes/sun/security/x509/CertificateValidity.java
! src/share/classes/sun/security/x509/CertificateVersion.java
! src/share/classes/sun/security/x509/CertificateX509Key.java
! src/share/classes/sun/security/x509/ExtendedKeyUsageExtension.java
! src/share/classes/sun/security/x509/Extension.java
! src/share/classes/sun/security/x509/InhibitAnyPolicyExtension.java
! src/share/classes/sun/security/x509/InvalidityDateExtension.java
! src/share/classes/sun/security/x509/IssuerAlternativeNameExtension.java
! src/share/classes/sun/security/x509/KeyUsageExtension.java
! src/share/classes/sun/security/x509/NameConstraintsExtension.java
! src/share/classes/sun/security/x509/NetscapeCertTypeExtension.java
! src/share/classes/sun/security/x509/OIDMap.java
! src/share/classes/sun/security/x509/OIDName.java
! src/share/classes/sun/security/x509/OtherName.java
! src/share/classes/sun/security/x509/PolicyConstraintsExtension.java
! src/share/classes/sun/security/x509/PolicyInformation.java
! src/share/classes/sun/security/x509/PolicyMappingsExtension.java
! src/share/classes/sun/security/x509/PrivateKeyUsageExtension.java
! src/share/classes/sun/security/x509/RDN.java
! src/share/classes/sun/security/x509/SubjectAlternativeNameExtension.java
! src/share/classes/sun/security/x509/SubjectInfoAccessExtension.java
! src/share/classes/sun/security/x509/SubjectKeyIdentifierExtension.java
! src/share/classes/sun/security/x509/X500Name.java
! src/share/classes/sun/security/x509/X509CRLEntryImpl.java
! src/share/classes/sun/security/x509/X509CRLImpl.java
! src/share/classes/sun/security/x509/X509CertImpl.java
! src/share/classes/sun/security/x509/X509CertInfo.java
! src/share/classes/sun/security/x509/X509Key.java
! src/windows/classes/sun/security/mscapi/KeyStore.java
! src/windows/classes/sun/security/mscapi/PRNG.java
! src/windows/classes/sun/security/mscapi/RSAPrivateKey.java
! src/windows/classes/sun/security/mscapi/RSAPublicKey.java
! src/windows/classes/sun/security/mscapi/RSASignature.java
! src/windows/classes/sun/security/mscapi/SunMSCAPI.java




More information about the security-dev mailing list