RFR: 8015315: Stream.concat methods

Remi Forax forax at univ-mlv.fr
Mon Jul 1 09:52:40 UTC 2013


On 06/29/2013 02:58 AM, Henry Jen wrote:
> Hi,
>
> Please review the webrev that add concat static method to Stream and
> primitive Streams.
>
> http://cr.openjdk.java.net/~henryjen/ccc/8015315.0/webrev/
>
> Cheers,
> Henry

Hi Henry,
I find the the cast to Spliterator<T> in Streams.concat() dubious,
I can not see how it can be correct, could you explain why this cast is Ok.

cheers,
Rémi




More information about the core-libs-dev mailing list