|
I've closed down the other one here's some examples... answer = shell.evaluate("10 * 20") we should make the second name parameter optional (its only used to help set the class name to be used) We should also follow the same naming / parameter conventions in the GroovyClassLoader as well. e.g. GroovyClassLoader loader = new GroovyClassLoader() i.e. use
and make the 2nd name parameter optional if you're constructing from a URL or Stream. I've committed GroovyShell and GroovyClassLoader and fixed the tests. |
|||||||||||||||||||||||||||||||||||||||||
this is a duplicate of...
http://jira.codehaus.org/secure/ViewIssue.jspa?key=GROOVY-147