This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

Re: [PATCH] java/12857: Fix class literals


On 7 Nov 2003, Tom Tromey wrote:
> >>>>> "Jeff" == Jeff Sturm <jsturm@one-point.com> writes:
>
> >> What Mauve failures?
>
> Jeff> See below.  All of these appear to be serialization failures.
>
> Jeff> The patch surely did affect class layout, but I could not easily see how
> Jeff> these tests are affected.  For example, running serialver on the mauve
> Jeff> tests before and after patching did not reveal any change.
>
> It looks to me that the tests rely on the serialver being consistent
> across compilers, as there is sample data checked in.  This is not a
> valid thing to do... compilers generate different code and cannot
> easily be made serialization-compatible with Sun's compiler.  See the
> various discussions of this point on this list in the past for more
> details.

That makes sense to me, although my problem turned out to have an
entirely different cause:  java.io.ObjectStreamClass was miscompiled by
the patched gcj.

Jeff


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