Sebb created HTTPCLIENT-1470:
--------------------------------

             Summary: CachingExec(ClientExecChain backend, HttpCache cache, 
CacheConfig config, AsynchronousValidator asynchRevalidator) NPE if config is 
null
                 Key: HTTPCLIENT-1470
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1470
             Project: HttpComponents HttpClient
          Issue Type: Bug
          Components: HttpCache
    Affects Versions: 4.3.2, 4.4 Alpha1
            Reporter: Sebb


The ctor CachingExec(ClientExecChain backend, HttpCache cache, CacheConfig 
config, AsynchronousValidator asynchRevalidator) will throw NPE if config is 
null.

It allows config to be null, and defaults to CacheConfig.DEFAULT.
However it then proceeds to re-use the config parameter rather than the 
instance field it has just set up.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to