From: raz AT cmg DOT FCNBD DOT COM (Robert Allan Zeh) Subject: b18 and the Java JNI with jdk 1.1.3 13 Aug 1997 13:42:42 -0700 Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <199708131408.JAA12703.cygnus.gnu-win32@tnd93.cmg.FCNBD.COM> Reply-To: raz AT cmg DOT FCNBD DOT COM Mime-Version: 1.0 (NeXT Mail 4.2mach v148) Content-Type: text/plain X-Nextstep-Mailer: Mail 4.2mach (Enhance 2.0b5) Original-To: gnu-win32 AT cygnus DOT com Original-Sender: owner-gnu-win32 AT cygnus DOT com I'm trying to use b18 to implement some native Java functions with jdk 1.1.3 using the Java Native Interface. Right now I'm at a point where I can write native java functions that return any of the primitive Java types, like jint or jchar, and everything works out fine. But I'm unable to return actual Java objects (other than NULL --- that works just fine). When I do return a non-null Java object the program crashes. I've tried returning unmodified objects that are passed in, and that doesn't work either. Has anyone else had any luck using the JNI with b18? Thanks, Robert Zeh razeh AT balr DOT com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".