JNI in GCJ 3.2 for Win32

Ranjit Mathew rmathew@hotmail.com
Fri Nov 8 06:44:00 GMT 2002


Anthony Green wrote:
> On Thu, 2002-11-07 at 22:03, Ranjit Mathew wrote:
> 
>>The _Jv_LookupJNIMethod( ) function in jni.cc needs to be
>>able to construct this to look up the symbol properly, but
>>it does not know how many bytes would be taken up by the
>>arguments. :-(
> 
> 
> Oh, gross.  Well - I suppose we could add an API to libffi which returns
> this number.  Any other ideas out there?

I can probably add another argument to _Jv_LookupJNIMethod( )
passing it the value of "args_raw_size" of the _Jv_JNIMethod
object "_this" in _Jv_JNIMethod::call( ).

Would that be acceptable?

Ranjit.

-- 
Ranjit Mathew          Email: rmathew AT hotmail DOT com

Bangalore, INDIA.      Web: http://ranjitmathew.tripod.com/





More information about the Java mailing list