diff -r a7f16447085e -r 48e480e56aad src/java.base/share/classes/java/io/SerializablePermission.java
--- a/src/java.base/share/classes/java/io/SerializablePermission.java Tue Sep 24 10:04:13 2019 +0000
+++ b/src/java.base/share/classes/java/io/SerializablePermission.java Tue Sep 24 09:43:43 2019 +0100
@@ -116,8 +116,8 @@
*
* @param name the name of the SerializablePermission.
*
- * @throws NullPointerException if name
is null
.
- * @throws IllegalArgumentException if name
is empty.
+ * @throws NullPointerException if {@code name} is {@code null}.
+ * @throws IllegalArgumentException if {@code name} is empty.
*/
public SerializablePermission(String name)
{
@@ -132,8 +132,8 @@
* @param name the name of the SerializablePermission.
* @param actions currently unused and must be set to null
*
- * @throws NullPointerException if name
is null
.
- * @throws IllegalArgumentException if name
is empty.
+ * @throws NullPointerException if {@code name} is {@code null}.
+ * @throws IllegalArgumentException if {@code name} is empty.
*/
public SerializablePermission(String name, String actions)