coerce a number to a short

Brad Knotwell bknotwell at yahoo.com
Tue Nov 26 17:38:09 UTC 2019


I've been using ABCL to get access to a Java library and it's worked generally well.  I have run into one problem I haven't been able to workaround.
I need to make a call to a method that takes a short as an argument.  I'm passing in a value--10--that fits in a short but ABCL can't find the method (presumedly due to a type issue).  I've tried using jcoerce but it's not doing what I expect.  What's the right way to do this?
Thx.
--Brad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/armedbear-devel/attachments/20191126/2399d26d/attachment.htm>


More information about the armedbear-devel mailing list