OpenJDK / bsd-port / jdk9 / jdk
changeset 14440:77f87ce87d2f
8156810: remove redundant sentence in SecurityManager.checkMemberAccess doc
Reviewed-by: darcy
author | smarks |
---|---|
date | Wed, 11 May 2016 17:37:11 -0700 |
parents | 5a2605c6b1a0 |
children | df10e768c7cc |
files | src/java.base/share/classes/java/lang/SecurityManager.java |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/java.base/share/classes/java/lang/SecurityManager.java Wed May 11 16:17:45 2016 -0300 +++ b/src/java.base/share/classes/java/lang/SecurityManager.java Wed May 11 17:37:11 2016 -0700 @@ -1627,8 +1627,7 @@ * @deprecated This method relies on the caller being at a stack depth * of 4 which is error-prone and cannot be enforced by the runtime. * Users of this method should instead invoke {@link #checkPermission} - * directly. This method will be changed in a future release - * to check the permission {@code java.security.AllPermission}. + * directly. * This method is subject to removal in a future version of Java SE. * * @see java.lang.reflect.Member