Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Can we pass parameter by address/reference in JNI?

843829Jul 3 2009 — edited Jul 7 2009
Hi
I am calling java method from C code.
Java function is returning integer.
I need 3 out parameters.
Can we pass parameter by address/reference when java method is called from C coe, so that value set to these variables in java code will be accessible from C code ?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 4 2009
Added on Jul 3 2009
8 comments
1,242 views