Better argument parsing and validation in Diagnostic Commands

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Won't Fix
    • Priority: P4
    • tbd
    • Affects Version/s: 11
    • Component/s: core-svc

      The diagnostic commands should provide a validation step that correct arguments have been provided before using them blindly. e.g. the jcmd GC.heap_dump is known to support a single positional filename argument, but when a user provides "filename=xxx" the operation blindly creates a file named "filename".

      This issue will be used to track a comprehensive review of the diagnostic command arguments and the introduction of a consistent validation step prior to command execution.

            Assignee:
            Unassigned
            Reporter:
            Gary Adams (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: