Re: Fix for JDK Double.parseDouble infinite loop

2011-02-07 Thread Dr Andrew John Hughes
On 7 February 2011 21:48, Mark Wielaard wrote: > On Wed, February 2, 2011 17:16, Andrew Haley wrote: >> The post on >> http://www.exploringbinary.com/java-hangs-when-converting-2-2250738585072012e-308/ > > This is hitting more and more media. e.g. > http://www.channelregister.co.uk/2011/02/07/java

Re: Fix for JDK Double.parseDouble infinite loop

2011-02-07 Thread Mark Wielaard
On Wed, February 2, 2011 17:16, Andrew Haley wrote: > The post on > http://www.exploringbinary.com/java-hangs-when-converting-2-2250738585072012e-308/ This is hitting more and more media. e.g. http://www.channelregister.co.uk/2011/02/07/java_denial_of_service_bug/ Since it seems to be a pretty se

Re: Fix for JDK Double.parseDouble infinite loop

2011-02-03 Thread Ismael Juma
Ismael Juma writes: > Also see (filed more than a year ago): > > https://bugs.openjdk.java.net/show_bug.cgi?id=100119 Oops, some of the newer messages were not visible on my reader for some reason. Sorry for the noise. Ismael

Re: Fix for JDK Double.parseDouble infinite loop

2011-02-03 Thread Ismael Juma
Andrew Haley writes: > The post on > http://www.exploringbinary.com/java-hangs-when-converting-2-2250738585072012e- 308/ Also see (filed more than a year ago): https://bugs.openjdk.java.net/show_bug.cgi?id=100119 Best, Ismael

Re: Fix for JDK Double.parseDouble infinite loop

2011-02-02 Thread Dr Andrew John Hughes
On 2 February 2011 20:30, Mark Wielaard wrote: > On Wed, 2011-02-02 at 20:02 +, 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 st

Re: Fix for JDK Double.parseDouble infinite loop

2011-02-02 Thread Mark Wielaard
On Wed, 2011-02-02 at 20:02 +, 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

Re: Fix for JDK Double.parseDouble infinite loop

2011-02-02 Thread Alan Bateman
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

Fix for JDK Double.parseDouble infinite loop

2011-02-02 Thread Andrew Haley
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. Runtime (java app hang): class runhang { public static void main(String[] args) { System.out.println("Test:");