Unspecified NullPointerException in SSLContext.getInstance methods

XMLWordPrintable

      The specification of the methods

        getInstance(String protocol)
        getInstance(String protocol, String provider)
        getInstance(String protocol, Provider provider)

      of the SSLContext class doesn't state that methods throw NullPointerException.

      But these methods throw NullPointerException if the protocol arfument is null.
      Not that jdk 1.4.2 correctly throws NoSuchAlgorithmException.

            Assignee:
            Xuelei Fan
            Reporter:
            Maxim Sokolnikov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: