RFR 8031187: DoubleStream.count is incorrect for a stream containing Integer.MAX_VALUE elements

2014-01-06 Thread Paul Sandoz
Hi, Please review the following which fixes an embarrassing bug in DoubleStream.count: http://cr.openjdk.java.net/~psandoz/jdk9/JDK-8031187-DoubleStream-count/webrev/ I included a test CountLargeTest that counts up to Integer.MAX_VALUE + 1. On my mac book this takes about 27s to run from

Re: RFR 8031187: DoubleStream.count is incorrect for a stream containing Integer.MAX_VALUE elements

2014-01-06 Thread Joe Darcy
Looks good Paul; if not 8 GA, than backported to an early 8 update. Cheers, -Joe On 01/06/2014 02:05 AM, Paul Sandoz wrote: Hi, Please review the following which fixes an embarrassing bug in DoubleStream.count: