groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Wagenleitner <john.wagenleit...@gmail.com>
Subject Re: Possible Problem
Date Sat, 16 Jun 2018 18:35:41 GMT
Looks like the problem is with the compound assignment using an attribute
and not related to synchronized. I created issue GROOVY-8648 [1] for this
problem.

[1] https://issues.apache.org/jira/browse/GROOVY-8648

On Fri, Jun 15, 2018 at 6:59 AM Russel Winder <russel@winder.org.uk> wrote:

> I have been tinkering a bit with GPars,mostly as a reaction to JCP 1.1.0
> being
> released (to replace my jcsp-1.1-rc-5 artefact). I amusing JDK11 and JDK10
> with Groovy 2.5.0.
>
> In this example programme:
>
>
> https://github.com/GPars/GPars/blob/master/src/test/groovy/groovyx/gpars/samples/collections/DemoSynchronizedAccountTransfer.groovy
>
> It seems the synchronized keyword on the function credit line 29 is cause a
> problem during compilation:
>
> Error:Groovyc: ASM reporting processing error for
> groovyx.gpars.samples.collections.Account#credit with signature void
> credit(int) in DemoSynchronizedAccountTransfer.groovy:29
>
>
> --
> Russel.
> ===========================================
> Dr Russel Winder      t: +44 20 7585 2200
> 41 Buckmaster Road    m: +44 7770 465 077
> London SW11 1EN, UK   w: www.russel.org.uk
>

Mime
View raw message