Re: RFR 8037857: Methods j.u.Arrays.spliterator/stream(X[], int, int) throw IAE instead of specified AIOOBE when endIndex < startIndex

2014-03-24 Thread Paul Sandoz
On Mar 24, 2014, at 1:28 PM, Alan Bateman wrote: > On 24/03/2014 11:44, Paul Sandoz wrote: >> 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: >> >> >>

Re: RFR 8037857: Methods j.u.Arrays.spliterator/stream(X[], int, int) throw IAE instead of specified AIOOBE when endIndex < startIndex

2014-03-24 Thread Alan Bateman
On 24/03/2014 11:44, Paul Sandoz wrote: 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/web

RFR 8037857: Methods j.u.Arrays.spliterator/stream(X[], int, int) throw IAE instead of specified AIOOBE when endIndex < startIndex

2014-03-24 Thread Paul Sandoz
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. Pa