From owner-freebsd-java Mon Mar 10 1:46:56 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 53F4637B401 for ; Mon, 10 Mar 2003 01:46:55 -0800 (PST) Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E05243F3F for ; Mon, 10 Mar 2003 01:46:53 -0800 (PST) (envelope-from sheldonh@starjuice.net) Received: from sheldonh by axl.seasidesoftware.co.za with local (Exim 4.12) id 18sJrt-0003hS-00 for freebsd-java@FreeBSD.org; Mon, 10 Mar 2003 11:46:49 +0200 Date: Mon, 10 Mar 2003 11:46:49 +0200 From: Sheldon Hearn To: freebsd-java@FreeBSD.org Subject: ports/java/jdk14 and jni_md.h Message-ID: <20030310094649.GA12316@starjuice.net> Mail-Followup-To: freebsd-java@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.3i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi folks, While looking into the reason for James Flemer's Eclipse port failing to run with ports/java/jdk14, I've found oddness in .../jdk1.4.1/include/jni.h: /* jni_md.h contains the machine-dependent typedefs for jbyte, jint and jlong */ #include "jni_md.h" What are the odds that this will work for any caller once it's installed into .../jdk1.4.1/include/jni.h? It seems to me that a) jni.h should #include "bsd/jni_md.h", or b) jni.h should #include , or b) callers are expected to add .../jdk1.4.1/include/md to the include path when compiling, not just .../jdk1.4.1/include, or c) jni_md.h should be installed in .../jdk1.4.1/include, not .../jdk1.4.1/include/md. What do the experts say? Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message