Jcmd diagnostic commands should have consistent error handling for empty filename options

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: None
    • Component/s: hotspot
    • svc

      In the review for JDK-8319873, it was raised that the new Windows implementation for System.dump_map, causes the VM to terminate if no filename is provided after the “-F” option (i.e. jcmd <pid> System.dump_map -F).

      We need consistent error handling for filename options that are followed by an empty string in the dcmd argument parser.

      Note, filename arguments can be empty so this is specific to options.

            Assignee:
            Simon Tooke
            Reporter:
            Sonia Zaldana Calles (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: