Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.7.4, 1.8-beta-1
-
None
-
None
Description
Test.groovy
class B extends A { static main(args){} } class A {}
fails with
Caught: groovy.lang.GroovyRuntimeException: 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.
Attachments
Attachments
Issue Links
- is related to
-
GROOVY-1328 cleanup strategy of choosing the class to execute when a file contains multiple classes
- Closed