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

jmap -dump could accept invalid options

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 16
    • Component/s: tools
    • Resolved In Build:
      b12

      Description

      The following jmap -dump should work with following command:
      jmap -dump:file=dump.out,aaa 29890
      which "aaa" is an undefined option.

      The expected behavior should be printing error message that "aaa" is not an valid option.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              lzang Lin Zang
              Reporter:
              lzang Lin Zang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: