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

Incorrect use of Objects.nonNull

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 17
    • 17
    • 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

            egahlin Erik Gahlin
            rriggs Roger Riggs
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: