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

joe darcy joe.darcy at oracle.com
Tue Dec 16 19:17:25 UTC 2014


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