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

incomplete spec for TrustManagerFactory.getInstance(String,String)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 5.0
    • 5.0
    • security-libs
    • b40
    • sparc
    • solaris_2.6
    • 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

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

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: