On 29.10.2015 11:48, Suderman Keith wrote:
There are (at least) two race conditions in GroovyCategorySupport.java
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

Reply via email to