jcmd command file parsing does not respect the "stop" command

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 7u6
    • Affects Version/s: 7u6, 8
    • Component/s: core-svc
    • b12
    • generic
    • generic
    • Verified

        running
        $ echo VM.version > file
        $ echo stop >> file
        $ echo VM.version >> file
        $ jcmd <pid> -f file
        will give two printouts of VM version despite the "stop" command.

        This appears to be a regression in the "jcmd" binary, 8-b37 and 8-b36 have this behavior but 8-b28 and 7u4-b20 does not.

              Assignee:
              Staffan Larsen (Inactive)
              Reporter:
              Mikael Gerdin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: