diff options
author | Bryce McKinlay <mckinlay@redhat.com> | 2005-06-23 15:00:50 +0000 |
---|---|---|
committer | Bryce McKinlay <bryce@gcc.gnu.org> | 2005-06-23 16:00:50 +0100 |
commit | c0f6dc941dcceaf0c5ec5280d0d0d1f34b9ba834 (patch) | |
tree | bb89d50e6f17ba5807972c509bb8789e1d8444cb /libjava | |
parent | fa47911c5600725d7d72e224e4a61829267b00b9 (diff) | |
download | gcc-c0f6dc941dcceaf0c5ec5280d0d0d1f34b9ba834.zip gcc-c0f6dc941dcceaf0c5ec5280d0d0d1f34b9ba834.tar.gz gcc-c0f6dc941dcceaf0c5ec5280d0d0d1f34b9ba834.tar.bz2 |
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
Diffstat (limited to 'libjava')
-rw-r--r-- | libjava/ChangeLog | 4 | ||||
-rw-r--r-- | libjava/testsuite/libjava.compile/PR20697.java | 29 |
2 files changed, 33 insertions, 0 deletions
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 <mckinlay@redhat.com> + + * testsuite/libjava.compile/PR20697.java: New test-case. + 2005-06-22 Kelley Cook <kcook@gcc.gnu.org> * 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(); + } +} |