Skip to content

Commit 0afb311

Browse files
committed
GROOVY-8162: Update Groovysh to JLine3 (debugging help)
1 parent 2e00caa commit 0afb311

File tree

1 file changed

+2
-0
lines changed
  • subprojects/groovy-groovysh/src/main/groovy/org/apache/groovy/groovysh/jline

1 file changed

+2
-0
lines changed

subprojects/groovy-groovysh/src/main/groovy/org/apache/groovy/groovysh/jline/GroovyEngine.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,8 @@ public interface Cloner {
163163

164164
public GroovyEngine() {
165165
sharedData = new Binding();
166+
// for debugging
167+
// sharedData.setVariable("engine", this);
166168
classLoader = new EngineClassLoader();
167169
shell = new GroovyShell(classLoader, sharedData);
168170
for (String s : DEFAULT_IMPORTS) {

0 commit comments

Comments
 (0)