diff options
author | Ranjit Mathew <rmathew@hotmail.com> | 2005-09-05 14:57:25 +0000 |
---|---|---|
committer | Ranjit Mathew <rmathew@gcc.gnu.org> | 2005-09-05 14:57:25 +0000 |
commit | 75d1a48521ad4606c4cccefaafbb08e7eeaee67c (patch) | |
tree | d4c2c71bd7d392f0a29c5042cda181f2835df94d /gcc/java/ChangeLog | |
parent | 7291645b6e1a6b5ee9c2f95ea6cf0b00024c7727 (diff) | |
download | gcc-75d1a48521ad4606c4cccefaafbb08e7eeaee67c.zip gcc-75d1a48521ad4606c4cccefaafbb08e7eeaee67c.tar.gz gcc-75d1a48521ad4606c4cccefaafbb08e7eeaee67c.tar.bz2 |
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
Diffstat (limited to 'gcc/java/ChangeLog')
-rw-r--r-- | gcc/java/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 0ecfd8f..8252aad 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,11 @@ +2005-09-05 Ranjit Mathew <rmathew@hotmail.com> + + 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. + 2005-08-16 Tom Tromey <tromey@redhat.com> * class.c (make_class_data): Always emit JV_STATE_PRELOADING for |