--- old/src/java.base/share/classes/com/sun/crypto/provider/RSACipher.java 2014-12-03 21:47:49.376666462 -0800 +++ new/src/java.base/share/classes/com/sun/crypto/provider/RSACipher.java 2014-12-03 21:47:49.184666453 -0800 @@ -243,6 +243,7 @@ } // initialize this cipher + @SuppressWarnings("deprecation") private void init(int opmode, Key key, SecureRandom random, AlgorithmParameterSpec params) throws InvalidKeyException, InvalidAlgorithmParameterException { @@ -424,6 +425,7 @@ } // see JCE spec + @SuppressWarnings("deprecation") protected Key engineUnwrap(byte[] wrappedKey, String algorithm, int type) throws InvalidKeyException, NoSuchAlgorithmException { if (wrappedKey.length > buffer.length) {