[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r1476359 - in /subversion/trunk/subversion/bindings/javahl/src/org: apache/subversion/javahl/types/LogDate.java tigris/subversion/javahl/LogDate.java

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Mon, 29 Apr 2013 12:47:56 +0100

markphip_at_apache.org writes:

> Author: markphip
> Date: Fri Apr 26 19:48:34 2013
> New Revision: 1476359
> URL: http://svn.apache.org/r1476359
> Log:
> JavaHL: fix a thread safety bug that has been observed in Subclipse.
> The Java SimpleDateFormat class is not thread safe. Solved by
> synchronizing the use of the object. Also audited all of our usage of
> this class and only this one usage has an issue. There are alternate
> implementations we could use, but we would have to copy in the class
> to our package. I chose to take the simple approach.

Would it be possible to switch to a non-static DateFormat instead?

Certified & Supported Apache Subversion Downloads:
Received on 2013-04-29 13:48:58 CEST

This is an archived mail posted to the Subversion Dev mailing list.