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

FetchingEventRelay shouldn't throw NPE if delegate param is null

    Details

      Description

      The 8 parameters constructor's javadoc is read:
          IllegalArgumentException - if bufferSize or maxNotifs is less than 1
          NullPointerException - if delegate is null.

      The 1 and 5 parameter(s) constructors javadoc are read:
          IllegalArgumentException - If delegate is null.

      I didn't check if the implementation does exactly that but NPE isn't appropriate when delegate is null: IAE for all constructors seems the obvious way.

        Attachments

          Activity

            People

            • Assignee:
              sjiang Shanliang Jiang (Inactive)
              Reporter:
              yjoan Yves Joan (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: