isParallel of sequential representation of parallel Stream

Paul Sandoz paul.sandoz at oracle.com
Thu Nov 29 08:01:15 PST 2012


On Nov 29, 2012, at 4:45 PM, elena votchennikova <elena.votchennikova at oracle.com> wrote:

> Hi,
> 
> method isParallel() returns true, if I call it from sequential 
> representation of parallel Stream.
> 
> For example,
> Arrays.parallel(new Object[]{1, 2, 3}).sequential().isParallel()
> 
> returns true.
> I think it should return false, isn't it?
> 

What source revision did build from?

Should now be fixed in the tip.

Paul.


More information about the lambda-dev mailing list