+1 for patch. I perfer my edge living choices in my code not my libraries. ;)
Claude On Tue, Dec 2, 2014 at 9:13 AM, Kristian Rosenvold <[email protected]> wrote: > While patching the FastDateFormat I came across several static > instances of NumberFormat and DecimalFormat, and all of them look like > a violation of the specification - since "Formats" in general are not > thread safe, as can be seen from the javadoc. > > Most of them are unused/irrelevant, but especially the one in > org.apache.jena.riot.process.normalize.NormalizeValue looks like a > potential bug. > > Now I know you can find discussions if this is actually a problem > (http://stackoverflow.com/questions/4387170/decimalformat-formatdouble-in-different-threads), > but I also know about all the subtle issues we've had with static > Format classes in other projects. > > Do you like living on the edge, or should I create a patch ? > > Kristian -- I like: Like Like - The likeliest place on the web LinkedIn: http://www.linkedin.com/in/claudewarren
