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

Bradford Wetmore bradford.wetmore at oracle.com
Fri Jan 16 00:42:54 UTC 2015


Looks good.  Thanks.

Brad


On 1/15/2015 4:39 PM, joe darcy wrote:
> 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