84 * already established.</td>
85 * </tr>
86 * </tbody>
87 * </table>
88 *
89 * @see java.security.BasicPermission
90 * @see java.security.Permission
91 * @see java.security.Permissions
92 * @see java.security.PermissionCollection
93 * @see java.lang.SecurityManager
94 *
95 *
96 * @author Joe Fialli
97 * @since 1.2
98 */
99
100 /* code was borrowed originally from java.lang.RuntimePermission. */
101
102 public final class SerializablePermission extends BasicPermission {
103
104 private static final long serialVersionUID = 8537212141160296410L;
105
106 /**
107 * @serial
108 */
109 private String actions;
110
111 /**
112 * Creates a new SerializablePermission with the specified name.
113 * The name is the symbolic name of the SerializablePermission, such as
114 * "enableSubstitution", etc.
115 *
116 * @param name the name of the SerializablePermission.
117 *
118 * @throws NullPointerException if <code>name</code> is <code>null</code>.
119 * @throws IllegalArgumentException if <code>name</code> is empty.
120 */
121 public SerializablePermission(String name)
122 {
123 super(name);
|
84 * already established.</td>
85 * </tr>
86 * </tbody>
87 * </table>
88 *
89 * @see java.security.BasicPermission
90 * @see java.security.Permission
91 * @see java.security.Permissions
92 * @see java.security.PermissionCollection
93 * @see java.lang.SecurityManager
94 *
95 *
96 * @author Joe Fialli
97 * @since 1.2
98 */
99
100 /* code was borrowed originally from java.lang.RuntimePermission. */
101
102 public final class SerializablePermission extends BasicPermission {
103
104 @java.io.Serial
105 private static final long serialVersionUID = 8537212141160296410L;
106
107 /**
108 * @serial
109 */
110 private String actions;
111
112 /**
113 * Creates a new SerializablePermission with the specified name.
114 * The name is the symbolic name of the SerializablePermission, such as
115 * "enableSubstitution", etc.
116 *
117 * @param name the name of the SerializablePermission.
118 *
119 * @throws NullPointerException if <code>name</code> is <code>null</code>.
120 * @throws IllegalArgumentException if <code>name</code> is empty.
121 */
122 public SerializablePermission(String name)
123 {
124 super(name);
|