JDK 9 RFR of JDK-8069127: Suppress deprecation warnings in jdk.deploy.osx module

joe darcy joe.darcy at oracle.com
Fri Jan 16 00:39:26 UTC 2015


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



More information about the security-dev mailing list