groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jwagenleit...@apache.org
Subject [1/4] groovy git commit: GROOVY-7884: GroovyScriptEngineImpl usage of CompilerConfiguration can lead to memory leaks (closes #377)
Date Sun, 07 Aug 2016 02:59:25 GMT
Repository: groovy
Updated Branches:
  refs/heads/master a1e97f17d -> ef86c2c4d


GROOVY-7884: GroovyScriptEngineImpl usage of CompilerConfiguration can lead to memory leaks
(closes #377)


Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/6754d4a4
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/6754d4a4
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/6754d4a4

Branch: refs/heads/master
Commit: 6754d4a4341d56277325469176caaf0d78996927
Parents: a1e97f1
Author: John Wagenleitner <jwagenleitner@apache.org>
Authored: Sat Aug 6 18:59:59 2016 -0700
Committer: John Wagenleitner <jwagenleitner@apache.org>
Committed: Sat Aug 6 18:59:59 2016 -0700

----------------------------------------------------------------------
 .../java/org/codehaus/groovy/jsr223/GroovyScriptEngineImpl.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/6754d4a4/subprojects/groovy-jsr223/src/main/java/org/codehaus/groovy/jsr223/GroovyScriptEngineImpl.java
----------------------------------------------------------------------
diff --git a/subprojects/groovy-jsr223/src/main/java/org/codehaus/groovy/jsr223/GroovyScriptEngineImpl.java
b/subprojects/groovy-jsr223/src/main/java/org/codehaus/groovy/jsr223/GroovyScriptEngineImpl.java
index 90a5831..d4168f8 100644
--- a/subprojects/groovy-jsr223/src/main/java/org/codehaus/groovy/jsr223/GroovyScriptEngineImpl.java
+++ b/subprojects/groovy-jsr223/src/main/java/org/codehaus/groovy/jsr223/GroovyScriptEngineImpl.java
@@ -116,7 +116,7 @@ public class GroovyScriptEngineImpl extends AbstractScriptEngine implements
Comp
     }
 
     public GroovyScriptEngineImpl() {
-        this(new GroovyClassLoader(getParentLoader(), new CompilerConfiguration()));
+        this(new GroovyClassLoader(getParentLoader(), new CompilerConfiguration(CompilerConfiguration.DEFAULT)));
     }
 
     public GroovyScriptEngineImpl(GroovyClassLoader classLoader) {


Mime
View raw message