Module java.base
Package java.lang

Class RuntimePermission

    • Constructor Detail

      • 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.