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

Multiple conflicting @return for FlightRecorderMXBean

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: