On 2 February 2011 20:30, Mark Wielaard <[email protected]> wrote: > On Wed, 2011-02-02 at 20:02 +0000, Alan Bateman wrote: >> Andrew Haley wrote: >> > The post on >> > http://www.exploringbinary.com/java-hangs-when-converting-2-2250738585072012e-308/ >> > >> > describes a (on first sight) trivial bug when parsing strings into >> > Java Double objects. >> Thanks for the analysis and patch. We also have a fix from Dmitry >> Nadezhin that he posted here some time ago (but fell through the cracks >> for some reason). I expect this issue will be fixed soon. > > Wow, I did some digging to find this. And it was reported back in 2001 > (!): http://bugs.sun.com/view_bug.do?bug_id=4421494 > There is even a suggested fix in the report. > > Dmitry Nadezhin posted about it on the list in 2009: > http://mail.openjdk.java.net/pipermail/core-libs-dev/2009-November/003153.html > > If people are looking into floating point issues now, it might be good > to also take a look at the other issues he mentioned in 2010 when he > proposed a Math subproject for OpenJDK: > http://mail.openjdk.java.net/pipermail/core-libs-dev/2010-January/003556.html > > Cheers, > > Mark > >
We should look at at least getting these into IcedTea. Sadly, the archiver seems to have scrubbed the patches but I may have them in my inbox somewhere. -- Andrew :-) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) Support Free Java! Contribute to GNU Classpath and the OpenJDK http://www.gnu.org/software/classpath http://openjdk.java.net PGP Key: F5862A37 (https://keys.indymedia.org/) Fingerprint = EA30 D855 D50F 90CD F54D 0698 0713 C3ED F586 2A37
