--- a/src/java.base/share/classes/java/security/BasicPermission.java Fri Sep 20 11:33:30 2019 +0800
+++ b/src/java.base/share/classes/java/security/BasicPermission.java Fri Sep 20 11:07:52 2019 +0100
@@ -349,13 +349,13 @@
*
* @param permission the Permission object to add.
*
- * @exception IllegalArgumentException - if the permission is not a
+ * @throws IllegalArgumentException - if the permission is not a
* BasicPermission, or if
* the permission is not of the
* same Class as the other
* permissions in this collection.
*
- * @exception SecurityException - if this BasicPermissionCollection object
+ * @throws SecurityException - if this BasicPermissionCollection object
* has been marked readonly
*/
@Override