JDK-8251374 breaks jmap -dump:all

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 16
    • Affects Version/s: 16
    • Component/s: hotspot
    • svc
    • b12

      https://hg.openjdk.java.net/jdk/jdk/rev/95e8aba3b047

      Adds usage printing when parameter parsing is broken. However, it doesn't account for the valid "all" suboption.

                        liveopt = "-live";
                    } else if (subopt.startsWith("file=")) {
                        filename = parseFileName(subopt);
       + } else if (subopt.equals("format=b")) {
       + // ignore format (not needed at this time)
       + } else {
       + System.err.println("Fail: invalid option: '" + subopt + "'");
       + usage(1);
                    }
                }

            Assignee:
            Stefan Karlsson
            Reporter:
            Stefan Karlsson
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: