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

Better argument parsing and validation in Diagnostic Commands

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • tbd
    • 11
    • 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.

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

              Created:
              Updated:
              Resolved: