tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 51467] usage of method run instead of start to start a thread
Date Sun, 03 Jul 2011 16:43:45 GMT

--- Comment #2 from Christopher Schultz <> 2011-07-03 16:43:45
UTC ---
I'm wondering why the whole process is run in a Thread in the first place. If
the thread is start()ed, when immediately join()ed, and all exceptions are
documented not to be expected, it seems like the use of a thread is wasteful.

Your patch, while slightly more clear than the original code, does not appear
to actually any behavior: the parent thread will still block, except this time
the thread is actually launched.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message