src/java.base/share/classes/java/io/SerializablePermission.java
changeset 58288 48e480e56aad
parent 57956 e0b8b019d2f5
child 58679 9c3209ff7550
equal deleted inserted replaced
58287:a7f16447085e 58288:48e480e56aad
   114      * The name is the symbolic name of the SerializablePermission, such as
   114      * The name is the symbolic name of the SerializablePermission, such as
   115      * "enableSubstitution", etc.
   115      * "enableSubstitution", etc.
   116      *
   116      *
   117      * @param name the name of the SerializablePermission.
   117      * @param name the name of the SerializablePermission.
   118      *
   118      *
   119      * @throws NullPointerException if <code>name</code> is <code>null</code>.
   119      * @throws NullPointerException if {@code name} is {@code null}.
   120      * @throws IllegalArgumentException if <code>name</code> is empty.
   120      * @throws IllegalArgumentException if {@code name} is empty.
   121      */
   121      */
   122     public SerializablePermission(String name)
   122     public SerializablePermission(String name)
   123     {
   123     {
   124         super(name);
   124         super(name);
   125     }
   125     }
   130      * actions String is currently unused and should be null.
   130      * actions String is currently unused and should be null.
   131      *
   131      *
   132      * @param name the name of the SerializablePermission.
   132      * @param name the name of the SerializablePermission.
   133      * @param actions currently unused and must be set to null
   133      * @param actions currently unused and must be set to null
   134      *
   134      *
   135      * @throws NullPointerException if <code>name</code> is <code>null</code>.
   135      * @throws NullPointerException if {@code name} is {@code null}.
   136      * @throws IllegalArgumentException if <code>name</code> is empty.
   136      * @throws IllegalArgumentException if {@code name} is empty.
   137      */
   137      */
   138 
   138 
   139     public SerializablePermission(String name, String actions)
   139     public SerializablePermission(String name, String actions)
   140     {
   140     {
   141         super(name, actions);
   141         super(name, actions);