RFR 8031187: DoubleStream.count is incorrect for a stream containing > Integer.MAX_VALUE elements
joe.darcy at oracle.com
Mon Jan 6 19:28:29 UTC 2014
Looks good Paul; if not 8 GA, than backported to an early 8 update.
On 01/06/2014 02:05 AM, Paul Sandoz wrote:
> Please review the following which fixes an embarrassing bug in DoubleStream.count:
> I included a test CountLargeTest that counts up to Integer.MAX_VALUE + 1. On my mac book this takes about 27s to run from the jtreg command, on a slow machine it could be longer. I would like to retain this test but it does not need to be run regularly, how can i annotate the test to declare that?
> Also, i think this fix should go back to 8. The risk is low.
More information about the core-libs-dev