-
Bug
-
Resolution: Unresolved
-
P4
-
None
-
5.0
-
None
-
Fix Understood
-
x86
-
windows_xp
1. Class level specification for SerializablePermission states:
"
The following table lists all the possible SerializablePermission target names
"
but never specifies what happends if one gives target name that is not present in table to constructor. Behavior in this case should be clarified. Currently JDK allows such target names and getName() returns name give to constructor.
2. Specification for "public SerializablePermission(String name, String actions)" states:
"
The name is the symbolic name of the SerializablePermission, and the actions String is currently unused and should be null.
...
actions - currently unused and must be set to null
"
Behavior in case of action being non-null should be specified.
3. Behavior of method getActions for this class is unclear. Specification should state something like "currently getActions always returns empty String".
###@###.### 2005-1-31 15:37:36 GMT
"
The following table lists all the possible SerializablePermission target names
"
but never specifies what happends if one gives target name that is not present in table to constructor. Behavior in this case should be clarified. Currently JDK allows such target names and getName() returns name give to constructor.
2. Specification for "public SerializablePermission(String name, String actions)" states:
"
The name is the symbolic name of the SerializablePermission, and the actions String is currently unused and should be null.
...
actions - currently unused and must be set to null
"
Behavior in case of action being non-null should be specified.
3. Behavior of method getActions for this class is unclear. Specification should state something like "currently getActions always returns empty String".
###@###.### 2005-1-31 15:37:36 GMT
- relates to
-
JDK-4274163 java.lang.RuntimePermission throws undocumented IllegalArgumentException
-
- Resolved
-