re PR java/20697 (Invalid Can't find method error on call to super)
PR java/20697 * parse.y (find_most_specific_methods_list): Remove special case for inner classes. From-SVN: r101270
This commit is contained in:
committed by
Bryce McKinlay
parent
fa47911c56
commit
c0f6dc941d
@@ -0,0 +1,29 @@
|
||||
public class PR20697
|
||||
{
|
||||
public interface I
|
||||
{
|
||||
public void m();
|
||||
}
|
||||
|
||||
public static class A2 implements I
|
||||
{
|
||||
public void m()
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class Test extends PR20697.A2
|
||||
{
|
||||
public void m()
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
public void n()
|
||||
{
|
||||
m();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user