Problems compiling the first class with Fibers
bren at juanantonio.info
bren at juanantonio.info
Mon Sep 23 17:52:06 UTC 2019
El 2019-09-23 19:51, bren at juanantonio.info escribió:
> Hi Alan,
>
> I build again the image with latest commit:
>
> commit b53554fba1b87eb0023738d1977dd7df74c51cca (HEAD -> fibers,
> origin/fibers, origin/HEAD)
> Merge: 321566846d 32c6af3a70
> Author: Rickard Bäckman <rickard.backman at oracle.com>
> Date: Mon Sep 23 14:31:23 2019 +0200
>
> Merge
>
> But I receive the same error:
>
> $ javac --enable-preview --release 13 FiberTest1.java
> FiberTest1.java:6: error: cannot find symbol
> try (var scope1 = FiberScope.open()) {
> ^
> symbol: variable FiberScope
> location: class FiberTest1
> 1 error
>
> The build is working fine, I tried other example not using Loom
> objects but I am not able to run a simple example described in the
> documentation:
>
> https://wiki.openjdk.java.net/display/loom/Structured+Concurrency
>
> Is it necessary to enable any flag in the compilation?
>
> Juan Antonio
>
> El 2019-09-23 18:44, bren at juanantonio.info escribió:
>> El 2019-09-23 17:12, Alan Bateman escribió:
>>> On 23/09/2019 14:57, bren at juanantonio.info wrote:
>>>> Hi,
>>>>
>>>> I am build for OSX and Linux the EA for project Loom but compiling
>>>> by command line a simple example, I receive a compilation error:
>>> Which repo and branch did you build?
>>>
>>> -Alan
>>
>> $ git status
>> On branch fibers
>> Your branch is up to date with 'origin/fibers'.
>>
>> nothing to commit, working tree clean
>>
>> commit e10e5720783f44939d9e35ed2a91eb5c7559cb84 (HEAD -> fibers)
>> Author: Alan Bateman <alan.bateman at oracle.com>
>> Date: Sun Sep 1 19:59:26 2019 +0100
>>
>> Blocking selection operations can use managed blocker
>>
>> I will build again.
>>
>> Cheers
>>
>> Juan Antonio
More information about the loom-dev
mailing list