8157848: Mark deprecated javax.security.auth.Policy API with forRemoval=true
authorweijun
Wed, 15 Jun 2016 10:13:21 +0800
changeset 38955 1dc95586a112
parent 38954 a5bac7d9a6ba
child 38960 87f36eb83b2e
8157848: Mark deprecated javax.security.auth.Policy API with forRemoval=true Reviewed-by: mullan, xuelei
jdk/src/java.base/share/classes/javax/security/auth/Policy.java
--- a/jdk/src/java.base/share/classes/javax/security/auth/Policy.java	Tue Jun 14 18:19:54 2016 -0700
+++ b/jdk/src/java.base/share/classes/javax/security/auth/Policy.java	Wed Jun 15 10:13:21 2016 +0800
@@ -152,10 +152,11 @@
  *
  * These two APIs provide callers the means to query the
  * Policy for Principal-based Permission entries.
+ * This class is subject to removal in a future version of Java SE.
  *
  * @see java.security.Security security properties
  */
-@Deprecated
+@Deprecated(since="1.4", forRemoval=true)
 public abstract class Policy {
 
     private static Policy policy;