List:NDB Connectors« Previous MessageNext Message »
From:Monty Taylor Date:November 25 2007 5:15am
Subject:Rev 288: Fixed an exception throwing warning. in http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/devel
View as plain text  
At http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/devel

------------------------------------------------------------
revno: 288
revision-id: mtaylor@stripped
parent: mtaylor@stripped
committer: Monty Taylor <mtaylor@stripped>
branch nick: devel
timestamp: Sat 2007-11-24 21:15:15 -0800
message:
  Fixed an exception throwing warning.
modified:
  java/ndbj.i                    ndbj.i-20070913223244-5938mztpztyn9sry-1
=== modified file 'java/ndbj.i'
--- a/java/ndbj.i	2007-11-24 04:30:22 +0000
+++ b/java/ndbj.i	2007-11-25 05:15:15 +0000
@@ -93,8 +93,7 @@
     strcpy(exception,prefix);
     strcat(exception,excp);
 
-    //jclass clazz = jenv->FindClass("java/lang/RuntimeException");
-    jclass clazz = jenv->FindClass(exception);
+    clazz = jenv->FindClass(exception);
     free(exception);
   }
 
@@ -112,7 +111,6 @@
     strcpy(exception,prefix);
     strcat(exception,excp);
     
-    //jclass clazz = jenv->FindClass("java/lang/RuntimeException");
     clazz = jenv->FindClass(exception);
     free(exception);
   }

Thread
Rev 288: Fixed an exception throwing warning. in http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/develMonty Taylor25 Nov