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

clhsdb "thread" command gives incorrect error message for bad threadID

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P5
    • 20
    • 20
    • hotspot
    • b14

    Description

      As pointed out in JDK-8283010, when a bad threadID is passed to the clhsdb "thread" command, the error message is incorrect:

      hsdb> thread 18
      Couldn't find thread thread

      It should say "thread 18", not "thread thread". The code looks like:

                              out.println("Couldn't find thread " + name);

      "name" is the name of the command. It should instead use "id".

      Attachments

        Issue Links

          Activity

            People

              cjplummer Chris Plummer
              cjplummer Chris Plummer
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: