You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2018/03/30 08:25:29 UTC
groovy git commit: align protected field types between 2.5/2.6 with
3.0 for binary compatibility (adjustment)
Repository: groovy
Updated Branches:
refs/heads/GROOVY_2_6_X 114a951e7 -> 780f1944c
align protected field types between 2.5/2.6 with 3.0 for binary compatibility (adjustment)
Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/780f1944
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/780f1944
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/780f1944
Branch: refs/heads/GROOVY_2_6_X
Commit: 780f1944c56a3da144a22fa949fcdb250b8c8da9
Parents: 114a951
Author: Paul King <pa...@asert.com.au>
Authored: Fri Mar 30 18:25:22 2018 +1000
Committer: Paul King <pa...@asert.com.au>
Committed: Fri Mar 30 18:25:22 2018 +1000
----------------------------------------------------------------------
src/main/groovy/groovy/lang/GroovyClassLoader.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/groovy/blob/780f1944/src/main/groovy/groovy/lang/GroovyClassLoader.java
----------------------------------------------------------------------
diff --git a/src/main/groovy/groovy/lang/GroovyClassLoader.java b/src/main/groovy/groovy/lang/GroovyClassLoader.java
index 116c55d..1511442 100644
--- a/src/main/groovy/groovy/lang/GroovyClassLoader.java
+++ b/src/main/groovy/groovy/lang/GroovyClassLoader.java
@@ -313,7 +313,7 @@ public class GroovyClassLoader extends URLClassLoader {
* @return the main class defined in the given script
*/
public Class parseClass(final GroovyCodeSource codeSource, boolean shouldCacheSource) throws CompilationFailedException {
- return ((StampedCommonCache<String, Class>) sourceCache).getAndPut(
+ return ((ConcurrentCommonCache<String, Class>) sourceCache).getAndPut(
codeSource.getName(),
new EvictableCache.ValueProvider<String, Class>() {
@Override