JDK 9 RFR of 8067088: Suppress solaris-specific deprecation warnings in the jdk.crypto.ucrypto module

Valerie Peng valerie.peng at oracle.com
Tue Dec 16 19:27:42 UTC 2014


Fix looks good.
Thanks,
Valerie

On 12/16/2014 11:17 AM, joe darcy wrote:
> Hello,
>
> Please review this small change to address
>
>     8067088: Suppress solaris-specific deprecation warnings in the 
> jdk.crypto.ucrypto module
>     http://cr.openjdk.java.net/~darcy/8067088.0/
>
> Patch below.
>
> Thanks,
>
> -Joe
>
> diff -r 5b63e9c1e8a0 
> src/jdk.crypto.ucrypto/solaris/classes/com/oracle/security/ucrypto/NativeRSACipher.java
> --- 
> a/src/jdk.crypto.ucrypto/solaris/classes/com/oracle/security/ucrypto/NativeRSACipher.java 
> Tue Dec 16 11:05:12 2014 -0800
> +++ 
> b/src/jdk.crypto.ucrypto/solaris/classes/com/oracle/security/ucrypto/NativeRSACipher.java 
> Tue Dec 16 11:15:09 2014 -0800
> @@ -178,6 +178,7 @@
>
>      // see JCE spec
>      @Override
> +    @SuppressWarnings("deprecation")
>      protected synchronized void engineInit(int opmode, Key newKey,
>              AlgorithmParameterSpec params, SecureRandom random)
>              throws InvalidKeyException, 
> InvalidAlgorithmParameterException {
> @@ -331,6 +332,7 @@
>
>      // see JCE spec
>      @Override
> +    @SuppressWarnings("deprecation")
>      protected synchronized Key engineUnwrap(byte[] wrappedKey,
>              String wrappedKeyAlgorithm, int wrappedKeyType)
>              throws InvalidKeyException, NoSuchAlgorithmException {
>


More information about the security-dev mailing list