Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6223531

Specification for SerializablePermission is incomplete

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 5.0
    • core-libs
    • None

      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

            Unassigned Unassigned
            idergali Ilya Dergalin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: