Hi,
I am trying to experiment with the javolution library
(www.javolution.org). I have installed its default
jar file and it seems to work fine when various tests
are run against it with the java command line.
However, from Kawa (1.9.3) I'm getting an error which
I do not understand. I wonder if someone can point
out what's going on here. Here is an example:
#|kawa:1|# (<javolution.io.Struct$Unsigned16>:new )
<unknown>: warning - cannot convert literal (of type
java.lang.Class) to gnu.bytecode.ClassType
#|kawa:2|# Invalid parameter, was: java.lang.Class
cannot be cast to gnu.bytecode.ClassType
java.lang.ClassCastException: java.lang.Class cannot
be cast to gnu.bytecode.ClassType
at atInteractiveLevel$1.run(stdin)
at gnu.expr.ModuleExp.evalModule(ModuleExp.java:306)
at kawa.Shell.run(Shell.java:275)
at kawa.Shell.run(Shell.java:186)
at kawa.Shell.run(Shell.java:167)
at kawa.repl.main(repl.java:870)