383 * </table>
384 *
385 * @implNote
386 * Implementations may define additional target names, but should use naming
387 * conventions such as reverse domain name notation to avoid name clashes.
388 *
389 * @see java.security.BasicPermission
390 * @see java.security.Permission
391 * @see java.security.Permissions
392 * @see java.security.PermissionCollection
393 * @see java.lang.SecurityManager
394 *
395 *
396 * @author Marianne Mueller
397 * @author Roland Schemers
398 * @since 1.2
399 */
400
401 public final class RuntimePermission extends BasicPermission {
402
403 private static final long serialVersionUID = 7399184964622342223L;
404
405 /**
406 * Creates a new RuntimePermission with the specified name.
407 * The name is the symbolic name of the RuntimePermission, such as
408 * "exit", "setFactory", etc. An asterisk
409 * may appear at the end of the name, following a ".", or by itself, to
410 * signify a wildcard match.
411 *
412 * @param name the name of the RuntimePermission.
413 *
414 * @throws NullPointerException if <code>name</code> is <code>null</code>.
415 * @throws IllegalArgumentException if <code>name</code> is empty.
416 */
417
418 public RuntimePermission(String name)
419 {
420 super(name);
421 }
422
|
383 * </table>
384 *
385 * @implNote
386 * Implementations may define additional target names, but should use naming
387 * conventions such as reverse domain name notation to avoid name clashes.
388 *
389 * @see java.security.BasicPermission
390 * @see java.security.Permission
391 * @see java.security.Permissions
392 * @see java.security.PermissionCollection
393 * @see java.lang.SecurityManager
394 *
395 *
396 * @author Marianne Mueller
397 * @author Roland Schemers
398 * @since 1.2
399 */
400
401 public final class RuntimePermission extends BasicPermission {
402
403 @java.io.Serial
404 private static final long serialVersionUID = 7399184964622342223L;
405
406 /**
407 * Creates a new RuntimePermission with the specified name.
408 * The name is the symbolic name of the RuntimePermission, such as
409 * "exit", "setFactory", etc. An asterisk
410 * may appear at the end of the name, following a ".", or by itself, to
411 * signify a wildcard match.
412 *
413 * @param name the name of the RuntimePermission.
414 *
415 * @throws NullPointerException if <code>name</code> is <code>null</code>.
416 * @throws IllegalArgumentException if <code>name</code> is empty.
417 */
418
419 public RuntimePermission(String name)
420 {
421 super(name);
422 }
423
|