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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 7u6
    • 7u6, 8
    • core-svc
    • b12
    • generic
    • generic
    • Verified

    Backports

      Description

        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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: