hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 31680] - DefaultHttpParamsFactory.getDefaultParams() is not thread safe
Date Wed, 13 Oct 2004 20:37:51 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31680>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31680

DefaultHttpParamsFactory.getDefaultParams() is not thread safe





------- Additional Comments From bipponobungus@hotmail.com  2004-10-13 20:37 -------
Yes, calling createParams() twice is ok.  This is a bug about assigning to a 
reference variable which is shared between threads without using 
synchronization.  That can have what the Java Language Specification Chapter 
17 calls "surprising" consequences.  Thanks for synchronizing it.

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


Mime
View raw message