coerce a number to a short

Brad Knotwell <[email protected]> Tue, 26 Nov 2019 17:38:09 +0000 (UTC)
Newsgroups gmane.editors.j.devel
Message-ID <1086359376.367093.1574789889915__21778.2921435841$1574789928$gmane$org@mail.yahoo.com>
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