Module java.base
Package java.lang

Class RuntimePermission

All Implemented Interfaces:
Serializable, Guard

public final class RuntimePermission extends BasicPermission
RuntimePermission objects represent access to runtime support.
See Also:
  • Constructor Details

    • RuntimePermission

      public RuntimePermission(String permissionName)
      Creates an instance of this class with the given name.
      Parameters:
      permissionName - String the name of the new permission.
    • RuntimePermission

      public RuntimePermission(String name, String actions)
      Creates an instance of this class with the given name and action list. The action list is ignored.
      Parameters:
      name - String the name of the new permission.
      actions - String ignored.