tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 51467] New: usage of method run instead of start to start a thread
Date Sun, 03 Jul 2011 10:19:46 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=51467

             Bug #: 51467
           Summary: usage of method run instead of start to start a thread
           Product: Tomcat 7
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: felix.schumacher@internetallee.de
    Classification: Unclassified


In StandardContext method Thread#run is used. This is most probably a mistake,
since a few lines below Thread#join is called to wait for the completion of the
thread.

So we could either remove the join and get rid of the thread by using just a
runnable, or start the thread.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message