From e9e0b591dc5947ae525eb73ad1e2d650bb215fd6 Mon Sep 17 00:00:00 2001 From: Joe Darcy Date: Tue, 16 Dec 2014 11:49:37 -0800 Subject: [PATCH] 8067088: Suppress solaris-specific deprecation warnings in the jdk.crypto.ucrypto module Reviewed-by: valeriep --- .../classes/com/oracle/security/ucrypto/NativeRSACipher.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jdk/src/jdk.crypto.ucrypto/solaris/classes/com/oracle/security/ucrypto/NativeRSACipher.java b/jdk/src/jdk.crypto.ucrypto/solaris/classes/com/oracle/security/ucrypto/NativeRSACipher.java index 813da731c06..a9ff2f02f86 100644 --- a/jdk/src/jdk.crypto.ucrypto/solaris/classes/com/oracle/security/ucrypto/NativeRSACipher.java +++ b/jdk/src/jdk.crypto.ucrypto/solaris/classes/com/oracle/security/ucrypto/NativeRSACipher.java @@ -178,6 +178,7 @@ public class NativeRSACipher extends CipherSpi { // 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 @@ public class NativeRSACipher extends CipherSpi { // see JCE spec @Override + @SuppressWarnings("deprecation") protected synchronized Key engineUnwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, int wrappedKeyType) throws InvalidKeyException, NoSuchAlgorithmException {