diff -r 217780dff1bf -r a4a816f88e58 src/java.base/share/classes/javax/security/auth/AuthPermission.java --- a/src/java.base/share/classes/javax/security/auth/AuthPermission.java Thu Mar 08 11:44:43 2018 +0800 +++ b/src/java.base/share/classes/javax/security/auth/AuthPermission.java Thu Mar 08 12:20:26 2018 +0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 2015, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -32,7 +32,7 @@ * *

The target name is the name of a security configuration parameter * (see below). Currently the {@code AuthPermission} object is used to - * guard access to the {@link Policy}, {@link Subject}, + * guard access to the {@link Subject}, * {@link javax.security.auth.login.LoginContext}, and * {@link javax.security.auth.login.Configuration} objects. * @@ -121,21 +121,6 @@ * {@code LoginContext}. * * - *

{@code javax.security.auth.Policy} has been - * deprecated in favor of {@code java.security.Policy}. - * Therefore, the following target names have also been deprecated: - * - *

- *      getPolicy -             allow the caller to retrieve the system-wide
- *                              Subject-based access control policy.
- *
- *      setPolicy -             allow the caller to set the system-wide
- *                              Subject-based access control policy.
- *
- *      refreshPolicy -         allow the caller to refresh the system-wide
- *                              Subject-based access control policy.
- * 
- * * @implNote * Implementations may define additional target names, but should use naming * conventions such as reverse domain name notation to avoid name clashes.