This is an automated email from the ASF dual-hosted git repository.

paulk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git


The following commit(s) were added to refs/heads/master by this push:
     new 781412a10f GROOVY-8162: Update Groovysh to JLine3 (remove accidental 
debugging line)
781412a10f is described below

commit 781412a10f9131ef44a3f721db0d9625283a0423
Author: Paul King <pa...@asert.com.au>
AuthorDate: Tue Aug 5 22:01:17 2025 +1000

    GROOVY-8162: Update Groovysh to JLine3 (remove accidental debugging line)
---
 .../src/main/groovy/org/apache/groovy/groovysh/jline/GroovyEngine.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/subprojects/groovy-groovysh/src/main/groovy/org/apache/groovy/groovysh/jline/GroovyEngine.java
 
b/subprojects/groovy-groovysh/src/main/groovy/org/apache/groovy/groovysh/jline/GroovyEngine.java
index 3338b020c2..cfc886b3a0 100644
--- 
a/subprojects/groovy-groovysh/src/main/groovy/org/apache/groovy/groovysh/jline/GroovyEngine.java
+++ 
b/subprojects/groovy-groovysh/src/main/groovy/org/apache/groovy/groovysh/jline/GroovyEngine.java
@@ -164,7 +164,7 @@ public class GroovyEngine implements ScriptEngine {
     public GroovyEngine() {
         sharedData = new Binding();
 // for debugging
-        sharedData.setVariable("engine", this);
+//        sharedData.setVariable("engine", this);
         classLoader = new EngineClassLoader();
         shell = new GroovyShell(classLoader, sharedData);
         for (String s : DEFAULT_IMPORTS) {

Reply via email to