changeset 42465:ed6c0f042ded

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 38d967704a9f
children 321b4a747cec
files jdk/src/java.base/macosx/classes/apple/security/KeychainStore.java
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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
     {