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