Simon Meers, le Wed 27 May 2009 14:57:46 +1000, a écrit :
> Unfortunately the Firefox extension seems to use Sun rather than gcj, so I'll
> need to get the native code to play ball with Sun :(
> According to my debugging so far, it is not GET_ID that has the problem; the
> crash occurs at this line:
> 
> 
>       (*jenv)->SetLongField(jenv, jcls, handleID, (jlong) (intptr_t) handle);
> 
> 
> in the native openConnection method, which would better explain the error
> description:
> 
> 
>     FATAL ERROR in native method: Instance field not found in JNI get/set 
> field
>     operations

What is called `instance field' is the handleID which is precisely
fetched by the GET_ID() macro.  The type of the field (long) matches the
signature used in GET_ID("j"), we even handle the failure case, I really
don't know what could go wrong...

Samuel
_______________________________________________
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: [email protected]
For general information, go to: http://mielke.cc/mailman/listinfo/brltty

Reply via email to