8069128: Fix deprecation warnings in jdk.deploy.osx module
Reviewed-by: mullan
Contributed-by: adam.petcher@oracle.com
--- a/jdk/src/java.base/macosx/classes/apple/security/KeychainStore.java Fri Dec 09 17:21:50 2016 +0000
+++ b/jdk/src/java.base/macosx/classes/apple/security/KeychainStore.java Fri Dec 09 14:14:37 2016 -0500
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -911,7 +911,6 @@
return true;
}
- @SuppressWarnings("deprecation")
private byte[] fetchPrivateKeyFromBag(byte[] privateKeyInfo) throws IOException, NoSuchAlgorithmException, CertificateException
{
byte[] returnValue = null;
@@ -972,7 +971,6 @@
return returnValue;
}
- @SuppressWarnings("deprecation")
private byte[] extractKeyData(DerInputStream stream)
throws IOException, NoSuchAlgorithmException, CertificateException
{