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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PR java/18811 [4.0 Regression] rhug build problem, regression?


rhug builds are broken with current CVS.  The problem is due to a
patch added on mainline to prevent an infinite recursion in an error
case, but I think the logic that patch was intended to fix has been
changed, so the patch can go.

Andrew.


2004-12-07  Andrew Haley  <aph@redhat.com>

	* jcf-parse.c (load_class): Remove sanity test for missing inner
	class file.
	
Index: jcf-parse.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/jcf-parse.c,v
retrieving revision 1.180
diff -c -2 -p -r1.180 jcf-parse.c
*** jcf-parse.c 28 Nov 2004 06:49:48 -0000      1.180
--- jcf-parse.c 7 Dec 2004 18:43:44 -0000
*************** load_class (tree class_or_name, int verb
*** 683,692 ****
              name = get_identifier (IDENTIFIER_POINTER (name));
              *separator = c;
- 
-             /* Otherwise we might get infinite recursion, if say we
-                have String.class but not
-                String$CaseInsensitiveComparator.class. */
-             if (current_jcf && current_jcf->java_source == 0)
-               break;
            }
          /* Otherwise, we failed, we bail. */
--- 683,686 ----


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