Thibault Kruse created GROOVY-7562: -------------------------------------- Summary: imports and custom class defs not working in Groovysh Interpreter Mode Key: GROOVY-7562 URL: https://issues.apache.org/jira/browse/GROOVY-7562 Project: Groovy Issue Type: Bug Components: Groovysh Affects Versions: 2.4.4, 2.4.3, 2.4.2, 2.4.1, 2.4.0 Reporter: Thibault Kruse
To reproduce groovy:000> :set interpreterMode true groovy:000> class Me { String name } ===> true groovy:000> m = new Me() script14405523893121089774169.groovy: 2: unable to resolve class Me groovy:000> import java.rmi.Remote ===> java.rmi.Remote groovy:000> Remote x script1440757530265448239810.groovy: 1: unable to resolve class Remote @ line 1, column 8. Remote x See https://github.com/apache/incubator-groovy/pull/100 for fix -- This message was sent by Atlassian JIRA (v6.3.4#6332)