Backport <was> Fwd: RFR 8037857: Methods j.u.Arrays.spliterator/stream(X[], int, int) throw IAE instead of specified AIOOBE when endIndex < startIndex
Rob McKenna
rob.mckenna at oracle.com
Mon Mar 24 16:17:02 UTC 2014
Approved.
-Rob
On 24/03/14 16:03, Paul Sandoz wrote:
> Hi,
>
> I would like to backport the following that has been approved for 9 to 8u20. Patch for 9 currently applies cleanly to 8u20.
>
> Thanks,
> Paul.
>
> Begin forwarded message:
>
>> From: Paul Sandoz <paul.sandoz at oracle.com>
>> Subject: RFR 8037857: Methods j.u.Arrays.spliterator/stream(X[], int, int) throw IAE instead of specified AIOOBE when endIndex < startIndex
>> Date: March 24, 2014 12:44:45 PM GMT+01:00
>> To: core-libs-dev Libs <core-libs-dev at openjdk.java.net>
>>
>> Hi,
>>
>> Simple patch to align code with spec for stream/spliterator factory methods on Arrays and spliterator methods on Spliterators, and make the next release of the JCK happy:
>>
>> http://cr.openjdk.java.net/~psandoz/jdk9/JDK-8037857-spliterator-aioob/webrev/
>>
>> After 9 it should go back to 8u20.
>>
>> Paul.
More information about the jdk8u-dev
mailing list