This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
PR java/18811 [4.0 Regression] rhug build problem, regression?
- From: Andrew Haley <aph at redhat dot com>
- To: Gcc Patch List <gcc-patches at gcc dot gnu dot org>, java-patches at gcc dot gnu dot org
- Date: Tue, 7 Dec 2004 18:51:24 +0000
- Subject: PR java/18811 [4.0 Regression] rhug build problem, regression?
- References: <415C96D3.5030200@bothner.com>
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 ----