Ian Clarke <[EMAIL PROTECTED]> writes: > On Sun, Oct 06, 2002 at 12:20:10AM +0200, Robert Bihlmeyer wrote: > > The following patch cured /this/ problem, but I still have others. The > > basic problem with all of these seem to be abstract classes that > > implement an interface, but do not "implement" (well actually > > declaring them as abstract is enough) all of this interface's methods. > > Could you report this as a bug to the Kaffe team - lets be good free > software citizens.
I'll throw the ball into jikes's court first, because compiling with Blackdown's javac (and running the result through the same kaffe version) works fine. I'm not intimate enough with the Java specification to know that it's actually a bug, but the jikes people will surely tell me. Thanks for applying the patch. Unfortunately I just saw that it was not enough to make inserting work (only requests). Here's another one against current CVS that fixes that as well (I've gone and declared all missing methods from the ClientKey interface as abstract):
Index: AbstractClientKey.java
===================================================================
RCS file: /cvsroot/freenet/freenet/src/freenet/client/AbstractClientKey.java,v
retrieving revision 1.5
diff -u -r1.5 AbstractClientKey.java
--- AbstractClientKey.java 6 Oct 2002 18:17:24 -0000 1.5
+++ AbstractClientKey.java 6 Oct 2002 20:03:17 -0000
@@ -271,7 +271,13 @@
getKey().getVal(), getCryptoKey() );
}
+ public abstract String keyType();
public abstract byte[] getCryptoKey() throws KeyException;
+ public abstract InputStream encode(Bucket plain, long metaLength, Bucket ctBucket)
+ throws KeyException, IOException;
+ public abstract InputStream encode(Bucket plainMeta, Bucket plainData, Bucket ctBucket)
+ throws KeyException, IOException;
+ public abstract Key getKey();
}
-- Robbe
signature.ng
Description: PGP signature
