--- a/src/java.base/share/classes/java/security/AccessController.java Fri Sep 20 11:33:30 2019 +0800
+++ b/src/java.base/share/classes/java/security/AccessController.java Fri Sep 20 11:07:52 2019 +0100
@@ -298,7 +298,7 @@
*
* @return the value returned by the action's {@code run} method.
*
- * @exception NullPointerException if the action is {@code null}
+ * @throws NullPointerException if the action is {@code null}
*
* @see #doPrivileged(PrivilegedAction,AccessControlContext)
* @see #doPrivileged(PrivilegedExceptionAction)
@@ -330,7 +330,7 @@
*
* @return the value returned by the action's {@code run} method.
*
- * @exception NullPointerException if the action is {@code null}
+ * @throws NullPointerException if the action is {@code null}
*
* @see #doPrivileged(PrivilegedAction)
* @see java.security.DomainCombiner
@@ -377,7 +377,7 @@
*
* @return the value returned by the action's {@code run} method.
*
- * @exception NullPointerException if the action is {@code null}
+ * @throws NullPointerException if the action is {@code null}
*
* @see #doPrivileged(PrivilegedAction)
* @see #doPrivileged(PrivilegedExceptionAction,AccessControlContext)
@@ -534,9 +534,9 @@
*
* @return the value returned by the action's {@code run} method
*
- * @exception PrivilegedActionException if the specified action's
+ * @throws PrivilegedActionException if the specified action's
* {@code run} method threw a <i>checked</i> exception
- * @exception NullPointerException if the action is {@code null}
+ * @throws NullPointerException if the action is {@code null}
*
* @see #doPrivileged(PrivilegedAction)
* @see #doPrivileged(PrivilegedExceptionAction,AccessControlContext)
@@ -577,9 +577,9 @@
*
* @return the value returned by the action's {@code run} method
*
- * @exception PrivilegedActionException if the specified action's
+ * @throws PrivilegedActionException if the specified action's
* {@code run} method threw a <i>checked</i> exception
- * @exception NullPointerException if the action is {@code null}
+ * @throws NullPointerException if the action is {@code null}
*
* @see #doPrivileged(PrivilegedAction)
* @see #doPrivileged(PrivilegedExceptionAction,AccessControlContext)
@@ -672,9 +672,9 @@
*
* @return the value returned by the action's {@code run} method
*
- * @exception PrivilegedActionException if the specified action's
+ * @throws PrivilegedActionException if the specified action's
* {@code run} method threw a <i>checked</i> exception
- * @exception NullPointerException if the action is {@code null}
+ * @throws NullPointerException if the action is {@code null}
*
* @see #doPrivileged(PrivilegedAction)
* @see #doPrivileged(PrivilegedAction,AccessControlContext)
@@ -990,9 +990,9 @@
*
* @param perm the requested permission.
*
- * @exception AccessControlException if the specified permission
+ * @throws AccessControlException if the specified permission
* is not permitted, based on the current security policy.
- * @exception NullPointerException if the specified permission
+ * @throws NullPointerException if the specified permission
* is {@code null} and is checked based on the
* security policy currently in effect.
*/