jasona7 / google-checkout-java-sample-code

Automatically exported from code.google.com/p/google-checkout-java-sample-code
0 stars 0 forks source link

SimpleDateFormat is not threadsafe #2

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
In the 0.2 version of JavaCheckoutRefImpl.jar, the
com.google.checkout.impl.util.Utils class uses SimpleDateFormat as a static
variable, and in static methods.  The formatter gets used by the
Notification Servlet, which is multi-threaded, so there is the possibility
of something bad happening here.

Original issue reported on code.google.com by will.sar...@gmail.com on 25 Apr 2007 at 12:37