8069128: Fix deprecation warnings in jdk.deploy.osx module
authormullan
Fri, 09 Dec 2016 14:14:37 -0500
changeset 42465 ed6c0f042ded
parent 42464 38d967704a9f
child 42466 321b4a747cec
8069128: Fix deprecation warnings in jdk.deploy.osx module Reviewed-by: mullan Contributed-by: adam.petcher@oracle.com
jdk/src/java.base/macosx/classes/apple/security/KeychainStore.java
--- 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
     {