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

Multiple conflicting @return for FlightRecorderMXBean

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 15
    • Fix Version/s: 16
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      jfr
    • Resolved In Build:
      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

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

              Dates

              Created:
              Updated:
              Resolved: