[armedbear-devel] jcall jmethod java.lang

David Dreisigmeyer david.dreisigmeyer at gmail.com
Fri Aug 20 18:48:42 UTC 2010


I don't understand why this doesn't work:

(jcall (jmethod "java.lang.Math" "sqrt") 4.0)

The error I get is:

No such method: java.lang.Math.sqrt()

Also, this works:

CL-USER> (jcall (jmethod "java.lang.Float" "intValue") 4.0)

but when I try this:

(jcall (jmethod "java.lang.Float" "compare") 4.0 5.0)

I get:

No such method: java.lang.Float.compare()

I'm not sure if this is the correct forum for these questions.  If there's a
better place to ask them let me know.  Thanks,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/armedbear-devel/attachments/20100820/e9ba9bd0/attachment.html>

More information about the armedbear-devel mailing list