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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • None
    • 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.

            stooke Simon Tooke
            szaldana Sonia Zaldana Calles
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: