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

Paul Sandoz paul.sandoz at oracle.com
Mon Mar 24 11:44:45 UTC 2014


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:


After 9 it should go back to 8u20.


More information about the core-libs-dev mailing list