--- a/src/java.base/share/classes/java/security/AllPermission.java Thu Oct 17 02:49:14 2019 +0200
+++ b/src/java.base/share/classes/java/security/AllPermission.java Wed Oct 16 18:47:11 2019 -0700
@@ -178,10 +178,10 @@
*
* @param permission the Permission object to add.
*
- * @throws IllegalArgumentException - if the permission is not a
+ * @throws IllegalArgumentException if the permission is not an
* AllPermission
*
- * @throws SecurityException - if this AllPermissionCollection object
+ * @throws SecurityException if this AllPermissionCollection object
* has been marked readonly
*/