Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
Description
The code generates an error message
interface B {
def x()
}
interface C {
def x()
}
class A implements B, C{
def x()
{ return 33 }}
The error:
Exception thrown: java.lang.InstantiationException: B
java.lang.InstantiationException: B
But it is a possible situation in java.
Attachments
Issue Links
- is related to
-
GROOVY-1328 cleanup strategy of choosing the class to execute when a file contains multiple classes
- Closed