groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jochen Theodorou <>
Subject Re: Groovy category throwing MissingMethodException and MissingPropertyException when using multiple threads
Date Thu, 29 Oct 2015 19:52:26 GMT
On 29.10.2015 11:48, Suderman Keith wrote:
> There are (at least) two race conditions in
> that would explain the intermittent and hard to reproduce bugs.
> I was hoping to submit this as my first official pull request to the
> Groovy project, but gradle has different ideas…
> However, the offending code is in on lines 75-76 and 99-100 where
> atomicCategoryUsageCounter is used non-atomically. If no one beats me to
> it I will submit a PR once I puzzle out why ./gradlew test is failing
> for me.

Can you explain the non-atomic usage and why it leads to a problem here?

bye blackdrag

View raw message