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

(spec) Unspecified NullPointerException in SSLSessionContext.getSession

XMLWordPrintable

    • beta
    • generic
    • generic

      Name: bkR10012 Date: 05/27/2004


      The description of the SSLSessionContext.getSession(byte[] sessionId)
      method does not describe any exception. According the spec. getSession()
      must return null if the specified session id does not refer to a valid
      SSLSession.

      But the implementation throws NullPointerException in case
      SSLSessionContext.getSession(sessionId) is being called while
      sessionId is null.

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

            xuelei Xuelei Fan
            kuzsunw Kuz Kuz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: