Code Review 6965924: java.net.HttpCookie using static SimpleDateFormat which is not thread safe

Chris Hegarty chris.hegarty at oracle.com
Wed Aug 18 03:10:38 PDT 2010


Michael,

java.net.HttpCookie uses static SimpleDateFormat which is not thread 
safe. I think the best solution here is to simply create local 
SimpleDateFormat as needed.

Webrev:
   http://cr.openjdk.java.net/~chegar/6965924/webrev.00/webrev/

Thanks,
-Chris.



More information about the net-dev mailing list