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

Incorrect use of Objects.nonNull

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 17
    • 17
    • hotspot
    • None
    • jfr
    • b19

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: