diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index 60620e60fd2de34bb06eb328206a3cbd055da612..8216d69edf2a8d4a790783642309fe431b2d47de 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,3 +1,8 @@
+2002-04-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
+
+	* parse.y (resolve_qualified_expression_name): Clear "from_super" flag
+	after using it to patch CALL_EXPR.
+
 2002-04-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
 
 	* gcj.texi (Invocation): Document CNI invocation API.
diff --git a/gcc/java/parse.y b/gcc/java/parse.y
index 436cdf0f074871b554682b3f64160de86de226ba..8c73b26301967840b98b49d9b03e452b937c90fe 100644
--- a/gcc/java/parse.y
+++ b/gcc/java/parse.y
@@ -9462,6 +9462,7 @@ resolve_qualified_expression_name (wfl, found_decl, where_found, type_found)
 	  *where_found = patch_method_invocation (qual_wfl, decl, type,
 						  from_super,
 						  &is_static, &ret_decl);
+	  from_super = 0;
 	  if (*where_found == error_mark_node)
 	    {
 	      RESTORE_THIS_AND_CURRENT_CLASS;