[ http://issues.apache.org/jira/browse/TAPESTRY-230?page=all ] Brian K. Wallace closed TAPESTRY-230: -------------------------------------
> Ignored interruptedException prevents Janitorthread termination > --------------------------------------------------------------- > > Key: TAPESTRY-230 > URL: http://issues.apache.org/jira/browse/TAPESTRY-230 > Project: Tapestry > Type: Bug > Components: Framework > Versions: 3.0.1, 3.0 > Environment: Tomcat 4 & 5 (on Windows platform) > Reporter: Martijn Stellinga > Assignee: Paul Ferraro > Priority: Minor > Fix For: 3.0.3 > > The org.apache.tapestry.util.JanitorThread uses a waitForNextPass() function > that makes it sleep for 30 seconds and then do another pass. > In this method an InterruptedException is caught and ignored. This prevents > the thread from terminating normally when, for instance, a context is > reloaded. See also > http://java.sun.com/j2se/1.5.0/docs/guide/misc/threadPrimitiveDeprecation.html. > I think it would be better if the while-loop in the run() method exited when > the wait() in waitfornextpass() method was interrupted. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]