From owner-freebsd-java Sun Mar 4 8: 5:44 2001 Delivered-To: freebsd-java@freebsd.org Received: from cypherpunks.ai (cypherpunks.ai [209.88.68.47]) by hub.freebsd.org (Postfix) with ESMTP id 4385437B71A for ; Sun, 4 Mar 2001 08:05:41 -0800 (PST) (envelope-from jeroen@vangelderen.org) Received: from vangelderen.org (grolsch.ai [209.88.68.214]) by cypherpunks.ai (Postfix) with ESMTP id 1354C50; Sun, 4 Mar 2001 12:05:38 -0400 (AST) Message-ID: <3AA267D2.B0F03A22@vangelderen.org> Date: Sun, 04 Mar 2001 12:05:38 -0400 From: "Jeroen C. van Gelderen" X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: FreeBSD Java Cc: Ari Suutari , Nate Williams , Greg Lewis Subject: Thanks! [Was: Are syscall wrappers needed in JNI?] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I am pleased to tell you that I got my Unix domain sockets to work. Thanks Ari, Greg and Nate for the clarifications that are so neccessary to mitigate the horror of programming the poorly documented JNI ;-) I settled for calling the JVM_* functions in libjava.so (except for bind which is not wrapped by the JVM and safe to call directly). Reason for this is that this approach will make the linker fail when a wrapped function is not available and I prefer that over having it silently link directly to the unwrapped libc call. The code needs a little more polishing and I need to write a new unit test still. I should be able to release (unsupported code with a BSD or BeerWare license) the stuff within a week for those who might be interested. Cheers, Jeroen -- Jeroen C. van Gelderen - jeroen@vangelderen.org "If I could save the Union without freeing any slave I would do it; and if I could save it by freeing some and leaving others alone I would also do that." -- Abraham Lincoln, August 22, 1862 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message