Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.7-beta-1
-
None
Description
Running the following script in GroovyConsole:
println "YES I CAN!" Foo.getMethod("foo", null)
yields:
YES I CAN! Exception thrown: This script or class could not be run. It should either: - have a main method, - be a JUnit test, TestNG test or extend GroovyTestCase, - or implement the Runnable interface.