John Keiser wrote:
> > > I've implemented Float.parseFloat() but Japhar doesn't find the
> > > function given the signature I've used for it. Looking at the javah
> > > from 1.2 I can't see what I'm doing wrong. Why does Japhar bomb
> > > with...
> >
> > Is Float loading the library that contains this function in a static
> > initializer? If not, Japhar won't find it.
>
> Why is this? I thought native method bindings were supposed to be late (as
> late as the actual call itself) ...
The bindings are late, but even then, how will Japhar know about your shared
library if you don't tell it? If the function is not in one of Japhar's
"standard" libraries, you have to explicitly load the library at some
point. If find it convenient to do so in a static initializer.
--
Aaron M. Renn ([EMAIL PROTECTED]) http://www.urbanophile.com/arenn/