Hello,

Please review these simple changes to address a few stray deprecation warnings in the jdk.deploy.osx module:

    JDK-8069127: Suppress deprecation warnings in jdk.deploy.osx module
    http://cr.openjdk.java.net/~darcy/8069127.0/

The patch is

--- old/src/jdk.deploy.osx/macosx/classes/apple/security/KeychainStore.java 2015-01-15 16:36:49.547707664 -0800 +++ new/src/jdk.deploy.osx/macosx/classes/apple/security/KeychainStore.java 2015-01-15 16:36:49.359707672 -0800
@@ -911,6 +911,7 @@
         return true;
     }

+    @SuppressWarnings("deprecation")
private byte[] fetchPrivateKeyFromBag(byte[] privateKeyInfo) throws IOException, NoSuchAlgorithmException, CertificateException
     {
         byte[] returnValue = null;
@@ -971,6 +972,7 @@
         return returnValue;
     }

+    @SuppressWarnings("deprecation")
     private byte[] extractKeyData(DerInputStream stream)
         throws IOException, NoSuchAlgorithmException, CertificateException
     {

Thanks,

-Joe

Reply via email to