isParallel of sequential representation of parallel Stream
Remi Forax
forax at univ-mlv.fr
Thu Nov 29 10:15:27 PST 2012
On 11/29/2012 06:15 PM, Paul Sandoz wrote:
> 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 :-(
Here is the corresponding java version.
/usr/jdk/jdk1.8.0-lambda/bin/java -version
openjdk version "1.8.0-ea"
OpenJDK Runtime Environment (build
1.8.0-ea-lambda-nightly-h1745-20121105-b64-b00)
OpenJDK 64-Bit Server VM (build 25.0-b05, mixed mode)
not sure it helps.
>
> 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.
Rémi
>
>> 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