As pointed out in [JDK-8283010](https://bugs.openjdk.org/browse/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".

I'd like to push this as a trivial change.

-------------

Commit messages:
 - Fix output when passing a bad threadid to the thread command.

Changes: https://git.openjdk.org/jdk/pull/10186/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10186&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8293445
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/10186.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/10186/head:pull/10186

PR: https://git.openjdk.org/jdk/pull/10186

Reply via email to