Well, I would say that anyone implementing a VM has to use the (1) version because that is the only one that is sane enough to work. Note that as long as the...
Jim Adams
sasjaa@...
Dec 3, 1998 11:15 pm
274
Thanks for the replies. At least I know now that I am not the only one who is confused;-) To summarize, there seem to be two kinds of opinions about the...
Claus Reinke
czr@...
Dec 4, 1998 12:31 am
275
Excerpts from jnative-l: 3-Dec-98 Re: [JAVA-NATIVE] JNI invoc.. Claus Reinke@.... (3273) ... native methods). I think this is under-stating the...
Blair Wyman
wyman@...
Dec 4, 1998 1:34 am
276
... nice (shorter than my original inference, and closer to the spec, too). ... This was my problem. But as we agree that uses of the invocation API should...
Claus Reinke
czr@...
Dec 4, 1998 3:32 am
278
... Were you creating any local references in that loop? Unless you delete them, they will persist until the native routine exits. David Chase NaturalBridge...
David Chase
chase@...
Dec 4, 1998 7:26 pm
279
I was wondering if any body has any comments about the following. I did see any comments about any possible problems. The stack trace at the end shows that...
Perik, Mike
mikep@...
Dec 4, 1998 11:59 pm
280
This recent discussion of global and local refs in native code has been quite timely for me. By a mix of experimentation and reason I've come to the same...
Glenn Nelson
GlennN@...
Dec 5, 1998 1:53 am
281
... Specifically, what did you do with the (local) reference that you passed to NewGloblRef()? That local reference remains valid unless you subsequently...
Buzzy Brown
buzzy@...
Dec 5, 1998 2:54 am
282
... Yes, I did create some local references, but also deleted them using DeleteLocalRef. In fact, I am still creating and deleting local refs, but no leaks...
Glenn Nelson
GlennN@...
Dec 5, 1998 5:03 am
283
... Oh, that's a surprise! I thought that NewGlobalRef *converted* the local ref to global. The under-spec actually says nothing about that. If you're correct,...
Glenn Nelson
GlennN@...
Dec 8, 1998 4:44 am
284
Hi, Anyone tested the new Microsoft VM yet ? Its got JNI :-) Graeme Wallace Technical Director Interactive Network Technologies 2901 Wilcrest Drive, #300 ...
Graeme Wallace
graeme@...
Dec 8, 1998 8:53 am
285
Hi, OT , but to do with Netscape signtool 1.1 : I have signed a directory containing javascript and .htm with Netscape signtool 1.1 and it reported success ; ...
ob
omir@...
Dec 9, 1998 1:27 pm
286
We have an application where Java calls a native method, passing it an Object that contains a String. The native method looks at the Object, determines that it...
Glenn Nelson
GlennN@...
Dec 9, 1998 9:07 pm
287
... Can you be a bit more specific about this? Are you using the routines defined in JNI to get your hands on the contents of the string, e.g.,...
David Chase
chase@...
Dec 10, 1998 2:04 am
288
Hi, Ive seen the problem before and its all to do with specifying MultiThreaded DLL in you project settings in Visual C++. If you dont then your JNI stuff uses...
Graeme Wallace
graeme@...
Dec 10, 1998 5:24 am
289
Glenn, I have not had any problems using the following technique. I simply convert my String into a Char * using the GetUTIChars() function. It looks...
john hughes
johnh@...
Dec 10, 1998 7:26 am
290
unsubscribe - To unsubscribe use java-native-request@... Archives http://www.scruz.net/~cichlid/java-native-archive...
Ken Dougan
kdougan@...
Dec 10, 1998 9:44 pm
291
... My string conversion was written before I understood what UTF was. So I used env->GetStringChars(), then used Microsoft function wcstombs() (wide char...
Glenn Nelson
GlennN@...
Dec 11, 1998 8:54 am
292
... My code looks like the following, which seems to agree with Sun's terse description at ...
Chris Kelly
samizdat@...
Dec 11, 1998 12:37 pm
293
... - To unsubscribe use java-native-request@... Archives http://www.scruz.net/~cichlid/java-native-archive...
Alec Dorfman
alec@...
Dec 11, 1998 1:47 pm
294
... To be pedantic, you could also check for an exception after you get the characters. No exception are listed in the documentation, but there are inputs for...
David Chase
chase@...
Dec 12, 1998 12:29 am
295
I want to make a big, single threaded C-application java-enabled. The users of the C-application are to have the possibility of calling java-programs which can...
Volker Wehner
volker.wehner@...
Dec 12, 1998 12:56 am
296
Hi -- If you can run java on the platform then you have the java library as it comes with all the JVM/JDK's I am familiar with. Second, Linux does have native...
Mike Flester
mike.flester@...
Dec 12, 1998 11:10 am
297
I have the following scenario. A java application is created, which requires a native "engine" to send back data, to populate the GUI (which is in java). The...
Shantanu Sen
ssen@...
Dec 21, 1998 4:15 am
298
Excerpts from jnative-l: 20-Dec-98 [JAVA-NATIVE] some questions Shantanu Sen@... (3711*) ... The code you posted has a bug or two, which are probably...
Blair Wyman
wyman@...
Dec 22, 1998 12:53 am
299
One thing that you have to be aware of is that you should really DeleteLocalRefs after you use them. In this case, since it isn't a native method but a native...
Jim Adams
sasjaa@...
Dec 23, 1998 8:38 pm
300
... This indicates to me that you may already be attached when you enter your callback function. Unfortunately AttachCurrentThread is not ref counted and it is...
Glenn Nelson
GlennN@...
Dec 24, 1998 2:33 am
301
Hi, In order to get a hold of the string of the Java exception for printing/logging purposes in native code after calling a static void returning Java method,...
bgoodrick@...
Feb 25, 1999 12:32 am
302
Excerpts from jnative-l: 24-Feb-99 [JAVA-NATIVE] Getting excep.. bgoodrick@... (3738*) ... I think the call to ExceptionClear is fine and dandy, and...
Blair Wyman
wyman@...
Feb 25, 1999 1:03 am
303
This is a snippet of code that I use. While I generally only run in 1.1 I have run it under 1.2 with success. if (err = ee->ExceptionOccurred()) { ...