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

Unspecified NullPointerException in SSLContext.getInstance methods

    Details

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: