java -XshowSettings:bad should fail

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • tbd
    • Affects Version/s: 9, 10
    • Component/s: tools
    • None

      java -XshowSettings accepts a few suboptions but the current implementation accepts an invalid suboption and prints all settings.

      java -XshowSettings and -XshowSettings:all are the documented way to show all settings. I think the intended behavior is to fail when an invalid suboption is specified.

            Assignee:
            Unassigned
            Reporter:
            Mandy Chung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: