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

(spec) Unspecified exceptions in SSLPermission constructors

    Details

    • 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.

      ======================================================================

        Attachments

          Activity

            People

            • Assignee:
              xuelei Xue-Lei Fan
              Reporter:
              kuzsunw Kuz Kuz (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: