changeset 13328:0d85be66e940

8144784: Remove @Deprecated annotation from java.security.acl, javax.security.cert and com.sun.jarsigner packages Reviewed-by: mchung, weijun, wetmore
author mullan
date Fri, 11 Dec 2015 09:34:56 -0500
parents a23f871cad25
children 4d367c763183
files src/java.base/share/classes/java/security/acl/package-info.java src/java.base/share/classes/javax/security/cert/package-info.java src/jdk.jartool/share/classes/com/sun/jarsigner/ContentSigner.java src/jdk.jartool/share/classes/com/sun/jarsigner/ContentSignerParameters.java src/jdk.jartool/share/classes/com/sun/jarsigner/package-info.java
diffstat 5 files changed, 15 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/share/classes/java/security/acl/package-info.java	Fri Nov 13 14:44:05 2015 +0100
+++ b/src/java.base/share/classes/java/security/acl/package-info.java	Fri Dec 11 09:34:56 2015 -0500
@@ -24,12 +24,11 @@
  */
 
 /**
- * The classes and interfaces in this package have been deprecated.
- * The {@code java.security} package contains suitable replacements.
- * See that package and, for example, {@code java.security.Permission}
- * for details.
+ * The classes and interfaces in this package have been deprecated. New
+ * classes should not be added to this package. The {@code java.security}
+ * package contains suitable replacements. See {@link java.security.Policy}
+ * and related classes for details.
  *
  * @since 1.1
  */
-@Deprecated
 package java.security.acl;
--- a/src/java.base/share/classes/javax/security/cert/package-info.java	Fri Nov 13 14:44:05 2015 +0100
+++ b/src/java.base/share/classes/javax/security/cert/package-info.java	Fri Dec 11 09:34:56 2015 -0500
@@ -26,16 +26,16 @@
 /**
  * Provides classes for public key certificates.
  *
- * This package has been deprecated. These classes include a simplified
- * version of the {@code java.security.cert} package.  These classes were
- * developed as part of the Java Secure Socket
- * Extension (JSSE).  When JSSE was added to the J2SE version 1.4, this
- * package was added for backward-compatibility reasons only.
+ * The classes in this package have been deprecated. New classes should not
+ * be added to this package. These classes include a simplified version of
+ * the {@code java.security.cert} package.  These classes were developed as
+ * part of the Java Secure Socket Extension (JSSE).  When JSSE was added to
+ * the J2SE version 1.4, this package was added for backward-compatibility
+ * reasons only.
  *
  * New applications should not use this package, but rather
  * {@code java.security.cert}.
  *
  * @since 1.4
  */
-@Deprecated
 package javax.security.cert;
--- a/src/jdk.jartool/share/classes/com/sun/jarsigner/ContentSigner.java	Fri Nov 13 14:44:05 2015 +0100
+++ b/src/jdk.jartool/share/classes/com/sun/jarsigner/ContentSigner.java	Fri Dec 11 09:34:56 2015 -0500
@@ -35,7 +35,7 @@
  *
  * @since 1.5
  * @author Vincent Ryan
- * @deprecated This package has been deprecated.
+ * @deprecated This class has been deprecated.
  */
 
 @jdk.Exported
--- a/src/jdk.jartool/share/classes/com/sun/jarsigner/ContentSignerParameters.java	Fri Nov 13 14:44:05 2015 +0100
+++ b/src/jdk.jartool/share/classes/com/sun/jarsigner/ContentSignerParameters.java	Fri Dec 11 09:34:56 2015 -0500
@@ -34,7 +34,7 @@
  *
  * @since 1.5
  * @author Vincent Ryan
- * @deprecated This package has been deprecated.
+ * @deprecated This class has been deprecated.
  */
 @jdk.Exported
 @Deprecated
--- a/src/jdk.jartool/share/classes/com/sun/jarsigner/package-info.java	Fri Nov 13 14:44:05 2015 +0100
+++ b/src/jdk.jartool/share/classes/com/sun/jarsigner/package-info.java	Fri Dec 11 09:34:56 2015 -0500
@@ -30,9 +30,10 @@
  * tool by supplying an alternative implementation of
  * {@link com.sun.jarsigner.ContentSigner}.
  *
- * This package has been deprecated.
+ * The classes in this package have been deprecated. New classes should not be
+ * added to this package. Use the {@link jdk.security.jarsigner.JarSigner} API
+ * to sign JAR files.
  */
 
 @jdk.Exported
-@Deprecated
 package com.sun.jarsigner;