-
Bug
-
Resolution: Fixed
-
P3
-
5.0
-
beta
-
generic
-
generic
Name: bkR10012 Date: 05/27/2004
The descriptions of the SSLPermission constructors
SSLPermission(String name) and SSLPermission(String name, String actions)
do not describe any exception.
But the implementation throws:
NullPointerException - if name is null;
IllegalArgumentException - if name is empty.
While this is reasonable specification should mention this explicitly
as the BasicPermission constructors description.
Also description of the parameter actions should be changed from
"actions - should be null" to "actions - ignored". Otherwise the spec.
should describe the implementation behavior if actions is a some string.
======================================================================
The descriptions of the SSLPermission constructors
SSLPermission(String name) and SSLPermission(String name, String actions)
do not describe any exception.
But the implementation throws:
NullPointerException - if name is null;
IllegalArgumentException - if name is empty.
While this is reasonable specification should mention this explicitly
as the BasicPermission constructors description.
Also description of the parameter actions should be changed from
"actions - should be null" to "actions - ignored". Otherwise the spec.
should describe the implementation behavior if actions is a some string.
======================================================================