--- old/src/java.base/share/classes/com/sun/crypto/provider/TlsMasterSecretGenerator.java 2014-12-03 21:47:50.184666500 -0800 +++ new/src/java.base/share/classes/com/sun/crypto/provider/TlsMasterSecretGenerator.java 2014-12-03 21:47:50.028666492 -0800 @@ -46,6 +46,7 @@ private final static String MSG = "TlsMasterSecretGenerator must be " + "initialized using a TlsMasterSecretParameterSpec"; + @SuppressWarnings("deprecation") private TlsMasterSecretParameterSpec spec; private int protocolVersion; @@ -57,6 +58,7 @@ throw new InvalidParameterException(MSG); } + @SuppressWarnings("deprecation") protected void engineInit(AlgorithmParameterSpec params, SecureRandom random) throws InvalidAlgorithmParameterException { if (params instanceof TlsMasterSecretParameterSpec == false) { @@ -139,7 +141,8 @@ } } - private static final class TlsMasterSecretKey implements TlsMasterSecret { + @SuppressWarnings("deprecation") + private static final class TlsMasterSecretKey implements TlsMasterSecret { private static final long serialVersionUID = 1019571680375368880L; private byte[] key;