We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1ec942 commit 8459436Copy full SHA for 8459436
groovy/src/main/java/io/cucumber/groovy/GroovyBackend.java
@@ -53,9 +53,9 @@ static GroovyBackend getInstance() {
53
return instanceThreadLocal.get();
54
}
55
56
- private static GroovyShell createShell() {
+ private GroovyShell createShell() {
57
CompilerConfiguration compilerConfig = new CompilerConfiguration();
58
- return new GroovyShell(Thread.currentThread().getContextClassLoader(), new Binding(), compilerConfig);
+ return new GroovyShell(this.getClass().getClassLoader(), new Binding(), compilerConfig);
59
60
61
0 commit comments