This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[PATCH] Java: let Jacks run again.



This patch let Jacks run to completion. I'm checking this in.

./A

2001-08-22  Alexandre Petit-Bianco  <apbianco@redhat.com>

	* parse.y (resolve_inner_class): Keep local_enclosing to NULL if
	circularity is detected.
	(ctors_unchecked_throws_clause_p): Fixed leading comment.

Index: parse.y
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/parse.y,v
retrieving revision 1.300
diff -u -p -r1.300 parse.y
--- parse.y	2001/08/17 21:07:07	1.300
+++ parse.y	2001/08/22 15:16:48
@@ -3584,7 +3584,8 @@ resolve_inner_class (circularity_hash, c
 	     IDENTIFIER_POINTER (DECL_NAME (local_enclosing)));
 	  local_enclosing = NULL_TREE;
         }
-      local_enclosing = local_super;
+      else
+	local_enclosing = local_super;
     }
 
   /* We failed. Return LOCAL_SUPER and LOCAL_ENCLOSING. */
@@ -15701,7 +15702,7 @@ purge_unchecked_exceptions (mdecl)
 }
 
 /* This function goes over all of CLASS_TYPE ctors and checks whether
-   each of then features at least one unchecked exception in it
+   each of them features at least one unchecked exception in its
    `throws' clause. If it's the case, it returns `true', `false'
    otherwise.  */
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]