Hi Divij,

     `ConcurrentHashMap` does not provide atomic operation(e.g.
check-and-put) util Java8. So I have achieved a fine-grained access control
to these caches[1], which is available in 2.5+. 2.5 beta-3[2] is out and RC
will be released soon, so please give it a try :)

Cheers,
Daniel.Sun

[1]
https://github.com/apache/groovy/blob/GROOVY_2_5_X/src/main/groovy/groovy/lang/GroovyClassLoader.java#L105
[2]
https://dl.bintray.com/groovy/maven/apache-groovy-binary-2.5.0-beta-3.zip



--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html

Reply via email to