[4655] in java-interest

home help back first fref pref prev next nref lref last post

-No Subject-

daemon@ATHENA.MIT.EDU (Dean Burson)
Wed Jan 10 11:37:18 1996

To: java-interest <java-interest@java.sun.com>
From: Dean Burson <Dean_Burson.LOTUS@crd.lotus.com>
Date: 10 Jan 96 10:01:09 EST

Hello Everybody,
If I call a native C DLL from a java class method, the javaThis pointer is
is implicitly passed along as the first parameter. I've been using the pointer 
to call back into the java class using execute_java_dynamic_method. 

Can the java garbage collector see that the pointer is held by a native
method? Are there scoping rules for using the pointer in the native code? 

Does the native method run in the same thread as the java method which 
called it?

Happy to have it working, I'm curious to know when it will break.
Dean Burson
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post