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

WebSocket API need doc update for all Null Pointer Exception.

XMLWordPrintable

      WebSocket API Doc need to be refactor will correct "Throws" list.

      Some examples :-

      public void newBuilderTest_URI_Listener_BothNull() {
              WebSocket.newBuilder(null, null);
          }

      throws:-

      NullPointerException: if URI or listener is null.

      * This is impacting JCK development.

            chegar Chris Hegarty
            vaibhav Vaibhav Choudhary (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: