[kaffe] Freenet build 6038 does not run in Kaffe CVS 2003-05-09

Helmer Krämer hkraemer@freenet.de
Fri May 23 04:34:01 2003


On Tue, 20 May 2003 20:23:27 -0400
Greg Wooledge <greg@wooledge.org> wrote:

Hi Greg,

> OS: OpenBSD 3.2 x86
> Java: Kaffe CVS (May 9 2003)
> Freenet: unstable build 6038
>   Compiled on Debian unstable x86 using jikes 1.14 and ant.
>   The same freenet.jar starts up under Linux/SunJava.
> 
> When I try to start Freenet on OpenBSD/Kaffe, this is written to
> either stderr or stdout:
> 
> java.lang.NoSuchMethodError: java/lang/StringBuffer.append(Ljava/lang/StringBuffer;)Ljava/lang/StringBuffer;
>         at freenet.fs.dir.NativeFSDirectory.getFile(NativeFSDirectory.java:1002)
>         at freenet.fs.dir.NativeFSDirectory$NativeBuffer.getFile(NativeFSDirectory.java:1777)
>         at freenet.fs.dir.NativeFSDirectory$NativeBuffer._init(NativeFSDirectory.java:1741)
>         at freenet.fs.dir.NativeFSDirectory$NativeBuffer.<init>(NativeFSDirectory.java:1690)
>         at freenet.fs.dir.NativeFSDirectory.preload(NativeFSDirectory.java:1217)
>         at freenet.fs.dir.NativeFSDirectory.preload(NativeFSDirectory.java:1199)
>         at freenet.fs.dir.NativeFSDirectory.<init>(NativeFSDirectory.java:695)
>         at freenet.node.Main.main(Main.java:521)

I've added the missing method to java.lang.StringBuffer,
so freenet should work with kaffe again (that is unless
some other problems show up ;)).

Thanks,
Helmer