Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C1C76200B6E for ; Sun, 7 Aug 2016 04:59:27 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B355A160AB4; Sun, 7 Aug 2016 02:59:27 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 1014F160A89 for ; Sun, 7 Aug 2016 04:59:26 +0200 (CEST) Received: (qmail 76196 invoked by uid 500); 7 Aug 2016 02:59:26 -0000 Mailing-List: contact commits-help@groovy.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@groovy.apache.org Delivered-To: mailing list commits@groovy.apache.org Received: (qmail 76180 invoked by uid 99); 7 Aug 2016 02:59:26 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Aug 2016 02:59:26 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id E8CB9ED22A; Sun, 7 Aug 2016 02:59:25 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: jwagenleitner@apache.org To: commits@groovy.apache.org Date: Sun, 07 Aug 2016 02:59:25 -0000 Message-Id: <2630087a13b3450db4b3ad6b05963d8e@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [1/4] groovy git commit: GROOVY-7884: GroovyScriptEngineImpl usage of CompilerConfiguration can lead to memory leaks (closes #377) archived-at: Sun, 07 Aug 2016 02:59:27 -0000 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 Authored: Sat Aug 6 18:59:59 2016 -0700 Committer: John Wagenleitner 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) {