Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
P3
-
Resolution: Fixed
-
Affects Version/s: 5.0
-
Fix Version/s: 6
-
Component/s: security-libs
-
Subcomponent:
-
Resolved In Build:beta
-
CPU:generic
-
OS:generic
Description
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.
======================================================================