[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Miranda methods again (Was: compatibility with jikes ?)

From: Mark Wielaard
Subject: Re: Miranda methods again (Was: compatibility with jikes ?)
Date: 01 Mar 2003 18:45:31 +0100


On Sat, 2003-03-01 at 18:24, Tom Tromey wrote:
> >>>>> "Mark" == Mark Wielaard <address@hidden> writes:
> Mark> I vote that we add the Miranda methods explicitly to the
> Mark> abstract classes in Classpath that need them.
> Don't we only need this to work around gcj bugs?  Maybe this should
> only happen in the gcj tree.

Nope. There are more VMs that don't work correctly when those Miranda
methods are not declared in an abstract class. And the latest jikes
doesn't automatically generate them anymore.

> In either case, let's mark the methods so we know to remove them
> later.


> Mark> The reason is that "modern" compilers like jikes (when used with
> Mark> -target 1.4) no longer generate them and buggy compilers like
> Mark> gcj -C never generated them. But not having those methods for
> Mark> the standard classes now makes the serialisation different
> Mark> (depends on Declared Methods) and breaks "buggy" VMs (that is
> Mark> almost all VMs since till very recently they all depended on the
> Mark> compiler generating these Miranda methods).
> I think we have to solve serialization problems differently -- by
> setting the UID explicitly and having tests.  That seems like the only
> approach that will work with all compilers.

Sigh. You are probably right. O, how do I hate this stupid Serialization
specification.... :{



reply via email to

[Prev in Thread] Current Thread [Next in Thread]