-
Bug
-
Resolution: Fixed
-
P3
-
1.4.0
-
beta2
-
generic
-
generic
-
Verified
Name: elR10090 Date: 07/12/2001
The following is the specification (from Merlin-b70) for
LoggingPermission(String, String) constructor:
public LoggingPermission(String name, String actions)
Creates a new LoggingPermission object. This constructor exists for
use by the Policy object to instantiate new Permission objects.
Parameters: name - Permission name. Must be "control".
actions - Must be either null or the empty string.
The spec does not clarify behavior of the constructor if
1. name is not "control" String
2. actions is not null and is not empty String.
The current implementation throws IllegalArgumentException in both cases.
I believe that exception should be specified for
LoggingPermission(String, String) constructor.
======================================================================