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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 20
    • 20
    • 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".

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

              Created:
              Updated:
              Resolved: