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

Multiple conflicting @return for FlightRecorderMXBean

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 16
    • 15
    • hotspot
    • jfr
    • b03

    Description

      doclint reports:
      open/src/jdk.management.jfr/share/classes/jdk/management/jfr/FlightRecorderMXBean.java:213: warning: @return has already been specified
           * @return a unique ID that can be used for reading recording data.
             ^
      1 warning

      The source shows:
           * @return a snapshot of all available recording data, not {@code null}
           *
           * @throws java.lang.SecurityException if a security manager exists and the
           * caller does not have {@code ManagementPermission("control")}
           *
           * @return a unique ID that can be used for reading recording data.

      Attachments

        Activity

          People

            egahlin Erik Gahlin
            jjg Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: