re PR java/23431 (gcj allows overriding with more restrictive access)
authorRanjit Mathew <rmathew@hotmail.com>
Mon, 5 Sep 2005 14:57:25 +0000 (14:57 +0000)
committerRanjit Mathew <rmathew@gcc.gnu.org>
Mon, 5 Sep 2005 14:57:25 +0000 (14:57 +0000)
commit75d1a48521ad4606c4cccefaafbb08e7eeaee67c
treed4c2c71bd7d392f0a29c5042cda181f2835df94d
parent7291645b6e1a6b5ee9c2f95ea6cf0b00024c7727
re PR java/23431 (gcj allows overriding with more restrictive access)

PR java/23431
* typeck.c (lookup_do): Look up interfaces for the original class,
not the base class.
* parse.y (java_check_regular_methods): Fix diagnostic message for
more restrictive overriding of a method from an interface.

From-SVN: r103909
gcc/java/ChangeLog
gcc/java/parse.y
gcc/java/typeck.c