[PATCH] Java: fix for java/1261.

Jeff Sturm jsturm@one-point.com
Sun Feb 18 14:46:00 GMT 2001

apbianco@cygnus.com wrote:
> This is a patch for java/1261 that features also some other
> improvements, like cathing errors with `clone.' I'm checking it in the
> trunk as well as the 3.0 branch.

This patch broke the 3.0 branch for alphapca56-unknown-linux-gnu:

/home/jsturm/dev/gcc/libjava/java/lang/Class.java: In class `java.lang.Class':
/home/jsturm/dev/gcc/libjava/java/lang/Class.java: In method `()':
/home/jsturm/dev/gcc/libjava/java/lang/Class.java:167: Internal error: Segmentation fault
Please submit a full bug report, with preprocessed source if appropriate.
See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.
make[1]: *** [java/lang/Class.lo] Error 1
make[1]: Leaving directory `/home/jsturm/dev/gcc-0215/objdir/alphapca56-unknown-linux-gnu/libjava'
make: *** [all-recursive] Error 1

I'm having trouble pinpointing the problem code.  The SEGV is deep
in rest_of_compilation, and these three changes are hard to separate
because they were all committed at once.  I'm trying to
divide-and-conquer, splitting the patch and rebuilding, but it is both 
time consuming and error prone.

Would it be OK to ask that patches like these be posted to the branch in
smaller chunks to aid testing?


More information about the Java-patches mailing list