8157848: Mark deprecated javax.security.auth.Policy API with forRemoval=true
Reviewed-by: mullan, xuelei
--- 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;