--- a/src/java.base/share/classes/java/security/PermissionCollection.java Fri Sep 20 11:33:30 2019 +0800
+++ b/src/java.base/share/classes/java/security/PermissionCollection.java Fri Sep 20 11:07:52 2019 +0100
@@ -107,9 +107,9 @@
*
* @param permission the Permission object to add.
*
- * @exception SecurityException - if this PermissionCollection object
+ * @throws SecurityException - if this PermissionCollection object
* has been marked readonly
- * @exception IllegalArgumentException - if this PermissionCollection
+ * @throws IllegalArgumentException - if this PermissionCollection
* object is a homogeneous collection and the permission
* is not of the correct type.
*/