isParallel of sequential representation of parallel Stream
Paul Sandoz
paul.sandoz at oracle.com
Thu Nov 29 09:15:21 PST 2012
On Nov 29, 2012, at 5:29 PM, elena votchennikova <elena.votchennikova at oracle.com> wrote:
> I use promoted build 64, from here: http://jdk8.java.net/lambda/
>
OK, unfortunately it is not possible to tell from that page what revision the promoted build is associated with :-(
But i definitely know that the fix you want is not in that build, because the issue was fixed with in the last day.
Paul.
>
> Lena
>
>
> On 29.11.2012 20:01, Paul Sandoz wrote:
>> 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