[kaffe] gnu-crypto-2.0.1 fails to compile with kaffe 1.1.6
Joshua Nichols
joshua.nichols at gmail.com
Wed Sep 21 09:19:54 PDT 2005
I'm having problems compiling gnu-crypto-2.0.1 with kaffe 1.1.6. I've
also tried compiling it with a standard 1.4 sdk and jikes, but the
problem doesn't seem to be present then.
CLASSPATH=.:/var/tmp/portage/gnu-crypto-2.0.1-r2/work/gnu-crypto-2.0.1/jce/javax-crypto.jar:/var/tmp/portage/gnu-crypto-2.0.1-r2/work/gnu-crypto-2.0.1/security/javax-security.jar
/opt/kaffe-1.1.6/bin/javac gnu/crypto/jce/mac/HMacHavalSpi.java
Found 1 semantic error compiling "gnu/crypto/jce/mac/MacAdapter.java":
89. this.mac = (IMac) that.mac.clone();
^--------------^
*** Semantic Error: The method "java.lang.Object clone() throws
java.lang.CloneNotSupportedException;" can throw the checked exception
"java.lang.CloneNotSupportedException", so its invocation must be
enclosed in a try statement that catches the exception, or else this
constructor must be declared to throw the exception.
make[1]: *** [gnu/crypto/jce/mac/HMacHavalSpi.class] Error 1
make[1]: Leaving directory
`/var/tmp/portage/gnu-crypto-2.0.1-r2/work/gnu-crypto-2.0.1/source'
make: *** [all-recursive] Error 1
- Josh Nichols
More information about the kaffe
mailing list