This is the mail archive of the java-discuss@sources.redhat.com 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]

Re: Has anyone seen this build error before?



Bryce McKinlay writes:

> I believe this error is caused by this patch:
> 
> 2000-11-16  Zack Weinberg  <zack@wolery.stanford.edu>
> 
>         * jcf-parse.c (get_constant), parse.y (do_merge_string_cste):
>         Create string in scratch buffer, then pass to build_string.
> 
> http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/jcf-parse.c.diff?r1=1.63&r2=1.64
> 
> Reversing it fixed this problem for me, but now I get:

I briefly considered it yesterday and then dismissed it as something
that shouldn't disrupt anything. Upon closer inspection, the fix is
much bigger than the ChangeLog entry implies. I'll have a look at it
as soon as I can.
				   
> java/io/ObjectInputStream.java:1: Missing return statement.
>    /* ObjectInputStream.java -- Class used to read serialized objects
>     ^
> 1 error

So then we're back to something that a slight rewrite of
end_artificial_method_body (which shouldn't matter but actually does
because (1) of some weird code generation bug or (2) some obscure
memory corruption due to a GC problem?) I indicated a few days ago
should fix.

./A

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