Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
4.3.2, 4.4 Alpha1
-
None
Description
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.