|
From: <and...@us...> - 2009-08-20 12:44:36
|
Revision: 10308
http://plplot.svn.sourceforge.net/plplot/?rev=10308&view=rev
Author: andrewross
Date: 2009-08-20 12:44:27 +0000 (Thu, 20 Aug 2009)
Log Message:
-----------
Fix up error in last fix for java plslabelfunc support.
Modified Paths:
--------------
trunk/bindings/java/plplotjavac.i
Modified: trunk/bindings/java/plplotjavac.i
===================================================================
--- trunk/bindings/java/plplotjavac.i 2009-08-20 12:41:42 UTC (rev 10307)
+++ trunk/bindings/java/plplotjavac.i 2009-08-20 12:44:27 UTC (rev 10308)
@@ -1224,7 +1224,7 @@
(*cached_jvm)->GetEnv(cached_jvm,(void **)&cbenv,JNI_VERSION_1_2);
if (cbenv == NULL) {
fprintf(stderr,"Thread not attached\n");
- if (AttachCurrentThread(cached_jvm, &cbenv, NULL) != 0) {
+ if ((*cached_jvm)->AttachCurrentThread(cached_jvm, (void **)&cbenv, NULL) != 0) {
fprintf(stderr,"Error attaching to JVM\n");
return;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|