changeset 14750:68202c9bc221

8157848: Mark deprecated javax.security.auth.Policy API with forRemoval=true Reviewed-by: mullan, xuelei
author weijun
date Wed, 15 Jun 2016 10:13:21 +0800
parents 2b7b09c81bf1
children 591fb6f93c40
files src/java.base/share/classes/javax/security/auth/Policy.java
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/share/classes/javax/security/auth/Policy.java	Tue Jun 14 18:19:54 2016 -0700
+++ b/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;