Description
Base.java:
public abstract class Base extends Base2
{
}
Base2.java:
public class Base2
{
public void print(Object out)
}
Simple.groovy
class Simple extends Base
{
static void main(args)
void process()
{ print("ok") }}
prints out "ok" instead of "Base:ok"
Trying with Simple.java:
public class Simple extends Base
{
public static void main(String[] args)
public void process()
{ print("ok"); }}
behaves correctly
Attachments
Issue Links
- is depended upon by
-
GROOVY-105 Parent class print method is wrongly picked up
- Closed