PR java/18811 [4.0 Regression] rhug build problem, regression?
Andrew Haley
aph@redhat.com
Tue Dec 7 20:29:00 GMT 2004
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 ----
More information about the Java-patches
mailing list