src/java.base/share/classes/sun/security/ssl/SSLSessionImpl.java
changeset 54099 fd332722014c
parent 52890 b0e751c70385
child 54253 01d8eae542ff
--- a/src/java.base/share/classes/sun/security/ssl/SSLSessionImpl.java	Wed Mar 13 12:25:42 2019 +0000
+++ b/src/java.base/share/classes/sun/security/ssl/SSLSessionImpl.java	Wed Mar 13 07:14:50 2019 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1996, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1996, 2019, 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
@@ -597,7 +597,8 @@
      *  Use {@code getPeerCertificates()} instead.
      */
     @Override
-    @Deprecated
+    @SuppressWarnings("removal")
+    @Deprecated(since="9", forRemoval=true)
     public javax.security.cert.X509Certificate[] getPeerCertificateChain()
             throws SSLPeerUnverifiedException {
         //