RFR 8157848: Mark deprecated javax.security.auth.Policy API with forRemoval=true
Xuelei Fan
xuelei.fan at oracle.com
Wed Jun 15 01:01:25 UTC 2016
Looks fine to me.
Thanks,
Xuelei
On 6/15/2016 8:42 AM, Wang Weijun wrote:
> We intend to remove this API in jdk10. Please take a review on the jdk9/dev patch below:
>
> diff --git a/src/java.base/share/classes/javax/security/auth/Policy.java b/src/java.base/share/classes/javax/security/auth/Policy.java
> --- a/src/java.base/share/classes/javax/security/auth/Policy.java
> +++ b/src/java.base/share/classes/javax/security/auth/Policy.java
> @@ -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
> */
> - at Deprecated
> + at Deprecated(since="1.4", forRemoval=true)
> public abstract class Policy {
>
> private static Policy policy;
>
> Thanks
> Max
>
More information about the security-dev
mailing list