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

JFR: Rename printHelp methods for jdk.jfr.internal.dcmd classes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 23
    • None
    • hotspot
    • None
    • jfr
    • b22

      Methods that provide help for diagnostic commands starts with "print". This is misleading since the methods don't actually print things. Instead they return a help a message as a String[].

      A better prefix would be "get", for example, getHelp() or getStartupHelp().

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

              Created:
              Updated:
              Resolved: