From c0f6dc941dcceaf0c5ec5280d0d0d1f34b9ba834 Mon Sep 17 00:00:00 2001 From: Bryce McKinlay Date: Thu, 23 Jun 2005 15:00:50 +0000 Subject: 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 --- libjava/ChangeLog | 4 ++++ libjava/testsuite/libjava.compile/PR20697.java | 29 ++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 libjava/testsuite/libjava.compile/PR20697.java (limited to 'libjava') diff --git a/libjava/ChangeLog b/libjava/ChangeLog index c8532c7..c81a79b 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,7 @@ +2005-06-23 Bryce McKinlay + + * testsuite/libjava.compile/PR20697.java: New test-case. + 2005-06-22 Kelley Cook * Makefile.am (SUBDIRS): Use append for conditional. diff --git a/libjava/testsuite/libjava.compile/PR20697.java b/libjava/testsuite/libjava.compile/PR20697.java new file mode 100644 index 0000000..56efb1d --- /dev/null +++ b/libjava/testsuite/libjava.compile/PR20697.java @@ -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(); + } +} -- cgit v1.1