diff options
Diffstat (limited to 'gcc/java/parse.y')
-rw-r--r-- | gcc/java/parse.y | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/java/parse.y b/gcc/java/parse.y index 3e0f83e..a24c3a0 100644 --- a/gcc/java/parse.y +++ b/gcc/java/parse.y @@ -5842,7 +5842,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; |