8067088: Suppress solaris-specific deprecation warnings in the jdk.crypto.ucrypto module
authordarcy
Tue, 16 Dec 2014 11:49:37 -0800
changeset 28092 a67de45e0b25
parent 28091 cbd670e95e2f
child 28093 270b6925cbc8
8067088: Suppress solaris-specific deprecation warnings in the jdk.crypto.ucrypto module Reviewed-by: valeriep
jdk/src/jdk.crypto.ucrypto/solaris/classes/com/oracle/security/ucrypto/NativeRSACipher.java
--- a/jdk/src/jdk.crypto.ucrypto/solaris/classes/com/oracle/security/ucrypto/NativeRSACipher.java	Tue Dec 16 11:05:12 2014 -0800
+++ b/jdk/src/jdk.crypto.ucrypto/solaris/classes/com/oracle/security/ucrypto/NativeRSACipher.java	Tue Dec 16 11:49:37 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 {