Incorrect use of Objects.nonNull

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 17
    • Affects Version/s: 17
    • Component/s: hotspot
    • None
    • jfr
    • b19

      Several JFR classes incorrectly use Objects.nonNull where Objects.requireNonNull is intended.

      jdk.jfr.internal.consumer.AbstractEventStream#setStartTime
      jdk.jfr.consumer.EventStream#openRepository(java.nio.file.Path)
      jdk.jfr.Recording#setFlushInterval

      Ref: https://github.com/openjdk/jdk/pull/2914#issuecomment-795853969

            Assignee:
            Erik Gahlin
            Reporter:
            Roger Riggs
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: