diff options
Diffstat (limited to 'gcc/java/parse.c')
-rw-r--r-- | gcc/java/parse.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/java/parse.c b/gcc/java/parse.c index d6ece50..c28407e 100644 --- a/gcc/java/parse.c +++ b/gcc/java/parse.c @@ -8540,7 +8540,9 @@ check_abstract_method_definitions (do_interface, class_decl, type) other_name = EXPR_WFL_NODE (other_name); if (!DECL_CLINIT_P (other_method) && !DECL_CONSTRUCTOR_P (other_method) - && method_name == other_name && method_sig == s) + && method_name == other_name + && method_sig == s + && !METHOD_ABSTRACT (other_method)) { found = 1; break; |