Matthew Toseland <[EMAIL PROTECTED]> writes:

> On Fri, Oct 04, 2002 at 06:25:06PM +0200, the bishop wrote:
> > Hi Folks!
> > 
> > I ran into problems since build 507, but with build 510, my node refuses to 
> > work at all. When i use the Blackdown runtime (1.3.1) or Sun's Java 
> > (1.4.0-b92), the node works fine.
> > (on Linux/x86 2.4.19)
> Hmm. That's bizarre. I run Kaffe 1.0.6 plus some CVS stuff (the kaffe in
> debian sid), and it works reasonably modulo occasional inexplicable
> crashes. And I wrote 510.

Which compiler are you using, Matt?

I compiled freenet-unstable-0.4.3+20020927_all.deb about a week ago
with jikes-1.14 and it runs fine with the kaffe in Debian sid. Some
days later problems made me try this again, with the same toolchain
and the sources unpacked directly from the Debian source pkg. This
compiled but running it (with the samme kaffe) resulted in the same
exception that the bishop saw:

> > java.lang.NoSuchMethodError: 
> > freenet/support/Heap$Element.compareTo(Ljava/lang/Object;)I
> >     at freenet.support.Heap.put(Heap.java:106)
> >     at freenet.support.Heap.put(Heap.java:100)
> >     at freenet.support.Heap.put(Heap.java:85)
> >     at freenet.node.rt.TreeRoutingTable.discard(TreeRoutingTable.java:118)
> >     at freenet.node.rt.TreeRoutingTable.reference(TreeRoutingTable.java:82)
> >     at freenet.node.rt.FilterRoutingTable.reference(FilterRoutingTable.java: 38)
> >     at freenet.node.Main.seedRoutingTable(Main.java:1429)
> >     at freenet.node.Main.main(Main.java:521)

I also tried running this one with Blackdown java. It doesn't crap
out, but every request ends with an RNF saying that 0 nodes were
contacted.

I then tried this with the new jikes 1.17, same effect. Now the fun
part: I managed to byte-compile fred with gcj-3.2 (a little
tweaking required) -- the result, when run with kaffe, gives the same
compareTo error as above. This is a bit uncanny as gcj and jikes do
not share any code AFAIK.

Compiling with Blackdown and running with kaffe works. I will continue
to investigate.

-- 
Robbe

Attachment: signature.ng
Description: PGP signature

Reply via email to