<div dir="ltr"><div dir="ltr"><div>Hi,</div><div>I have done some testing regarding passing pointers to Java and I found that the T_VOID type in finalizeParams already handles pointers correctly, the issue actually lies only in the wrapper generator. The Java wrapper class(es) have byte[] for out octetPtr types, while the code in nsJavaWrapper.cpp tries to set the pointer address in a long array.</div><div>I had trouble editing the wrapper generator so I can't supply a patch unfortunately, I tried changing xpidl_java.c but I didn't notice any changes. However, changing the type to long[] in the generated wrapper class and letting kmk compile the jar again did solve this problem for me.</div><div><br></div><div>Regards,</div><div>Norbert</div><div><br></div></div></div>