--- a/src/java.base/share/classes/java/security/AllPermission.java Fri Sep 20 11:33:30 2019 +0800
+++ b/src/java.base/share/classes/java/security/AllPermission.java Fri Sep 20 11:07:52 2019 +0100
@@ -178,10 +178,10 @@
*
* @param permission the Permission object to add.
*
- * @exception IllegalArgumentException - if the permission is not a
+ * @throws IllegalArgumentException - if the permission is not a
* AllPermission
*
- * @exception SecurityException - if this AllPermissionCollection object
+ * @throws SecurityException - if this AllPermissionCollection object
* has been marked readonly
*/