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

incomplete spec for TrustManagerFactory.getInstance(String,String)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 5.0
    • Component/s: security-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b40
    • CPU:
      sparc
    • OS:
      solaris_2.6
    • Verification:
      Verified

      Description



      Name: ktR10099 Date: 12/24/2003



      Specification for javax.net.ssl.TrustManagerFactory.getInstance(String
      algorithm, String provider) states, that "...IllegalArgumentException is
      thrown if provider is not specified". Current java implementation throws
      IllegalArgumentException in case provider is null or empty string. While
      this is reasonable specification should mention this explicitly.

      If algorithm is null NullPointerException is thrown, which is also
      reasonable, but should be documented.

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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                wetmore Bradford Wetmore
                Reporter:
                kvtsunw Kvt Kvt (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: