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

jmap -dump could accept invalid options

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 16
    • None
    • tools
    • b12

      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.

            lzang Lin Zang
            lzang Lin Zang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: