changeset 16239:838c6bde8793

8069128: Fix deprecation warnings in jdk.deploy.osx module Reviewed-by: mullan Contributed-by: adam.petcher@oracle.com
author mullan
date Fri, 09 Dec 2016 14:14:37 -0500
parents 0ad126a1f49e
children d4d7f1f0d688
files src/java.base/macosx/classes/apple/security/KeychainStore.java
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/macosx/classes/apple/security/KeychainStore.java	Fri Dec 09 17:21:50 2016 +0000
+++ b/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
     {