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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P5
    • 20
    • Affects Version/s: 20
    • Component/s: hotspot
    • b14

      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".

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

              Created:
              Updated:
              Resolved: