why am i getting StackOverflowError?
Posted
by IttayD
on Stack Overflow
See other posts from Stack Overflow
or by IttayD
Published on 2010-05-20T13:10:10Z
Indexed on
2010/05/20
13:50 UTC
Read the original article
Hit count: 196
groovy
In groovyConsole I have this:
import groovy.util.*
import org.codehaus.groovy.runtime.*
def gse = new GroovyScriptEngine("c:\\temp")
def script = gse.loadScriptByName("say.groovy")
this.metaClass.mixin script
say("bye")
say.groovy contains
def say(String msg) {
println(msg)
}
© Stack Overflow or respective owner