Is JNI functional at this point?

Mark Roos mroos at roos.com
Fri Aug 19 13:14:31 PDT 2011


Thanks David,  that helped me focus.

I have tracked it down to a callback from JNI code to a Java static 
method.  My other JNI usage works.

Do you use this api in your code?  ( every arg is non null and is does 
work under windows)
    jniEnv->CallStaticVoidMethodV(callbackClass, callbackMethodID, NULL);

It either does not work or there is something missing in my translation 
from visual studio

regards
mark

David Smith-Uchida <dave at igeekinc.com> wrote on 08/16/2011 06:31:28 PM:

> From: David Smith-Uchida <dave at igeekinc.com>
> To: Mark Roos <mroos at roos.com>
> Cc: macosx-port-dev at openjdk.java.net
> Date: 08/16/2011 06:31 PM
> Subject: Re: Is JNI functional at this point?
> 
> I've got quite a bit of JNI code running so I would say you should 
> expect it to work.
> 
> Cheers,
> Dave Smith
> 
> On Aug 17, 2011, at 12:31 AM, Mark Roos wrote:
> 
> > I am porting some JNI code from a Windows JDK7 testbed to OSX 10.6.8 
with 
> > a recent JDK7 OSX  build from
> > Google code.  I have it compiled and linked but it segfaults doing a 
> > JNI_ArgumentPusherVaArg:... operation. when
> > it starts.
> > 
> > Should I expect it to work?  or am I too early?
> > 
> > thanks 
> > 
> > mark
> 


More information about the macosx-port-dev mailing list