changeset 16853:bd3c91984011

8176542: Missing @Deprecated arguments for jdk.policytool Reviewed-by: mullan
author weijun
date Mon, 13 Mar 2017 21:05:38 +0800
parents 5e83bde9a7db
children 09b92d3067a3
files src/jdk.policytool/share/classes/module-info.java src/jdk.policytool/share/classes/sun/security/tools/policytool/PolicyTool.java
diffstat 2 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/jdk.policytool/share/classes/module-info.java	Mon Mar 13 14:02:16 2017 +0100
+++ b/src/jdk.policytool/share/classes/module-info.java	Mon Mar 13 21:05:38 2017 +0800
@@ -27,10 +27,9 @@
  * GUI tool for managing policy files.
  *
  * @since 9
- * @deprecated The policytool tool has been deprecated and
- * is planned to be removed in a future release.
+ * @deprecated
  */
-@Deprecated
+@Deprecated(since="9", forRemoval=true)
 module jdk.policytool {
     requires java.desktop;
     requires java.logging;
--- a/src/jdk.policytool/share/classes/sun/security/tools/policytool/PolicyTool.java	Mon Mar 13 14:02:16 2017 +0100
+++ b/src/jdk.policytool/share/classes/sun/security/tools/policytool/PolicyTool.java	Mon Mar 13 21:05:38 2017 +0800
@@ -65,11 +65,12 @@
  *
  * @see java.security.Policy
  * @since   1.2
- * @deprecated The policytool tool has been deprecated and
- * is planned to be removed in a future release.
+ * @deprecated {@code policytool} has been deprecated for removal because it
+ * is rarely used, and it provides little value over editing policy
+ * files using a text editor.
  */
 
-@Deprecated
+@Deprecated(since="9", forRemoval=true)
 public class PolicyTool {
 
     // for i18n