[prev in list] [next in list] [prev in thread] [next in thread] 

List:       httpclient-commons-dev
Subject:    [jira] Created: (HTTPCLIENT-740) AbstractConnPool constructor calls
From:       "Sebb (JIRA)" <jira () apache ! org>
Date:       2008-01-31 21:45:09
Message-ID: 10815289.1201815909921.JavaMail.jira () brutus
[Download RAW message or body]

AbstractConnPool constructor calls thread.Start()
-------------------------------------------------

                 Key: HTTPCLIENT-740
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-740
             Project: HttpComponents HttpClient
          Issue Type: Bug
          Components: HttpClient
            Reporter: Sebb


AbstractConnPool constructor calls thread.Start()

Findbugs says:

Constructor invokes Thread.start()

The constructor starts a thread. This is likely to be wrong if the class is ever \
extended/subclassed, since the thread will be started before the subclass constructor \
is started.

The class is not final (and the constructor is protected) which suggests that the \
class is intended to be extended...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic