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

FetchingEventRelay rejects a buffer size of 1

    Details

      Description

      When you set the buffer size to 1 it's rejected with the message below.
      That seems wrong: I understand value 0 is meaningless but 1 doesn't sound irrelevant.
      The FetchingEventRelay javadoc says (8 parameters constructor):
      "IllegalArgumentException - if bufferSize or maxNotifs is less than 1"

      java.lang.IllegalArgumentException: The bufferSize cannot be less than 1, no meaning.
      at javax.management.event.FetchingEventRelay.<init>(FetchingEventRelay.java:197)
      at javasoft.sqe.jmx.test.functional.EventClientTest10.run(EventClientTest10.java:95)
      at javasoft.sqe.jmx.share.TestStarter.<init>(TestStarter.java:28)
      at javasoft.sqe.jmx.share.TestStarter.main(TestStarter.java:79)

        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: