From owner-freebsd-java@FreeBSD.ORG Tue Apr 1 08:37:39 2003 Return-Path: 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 90BB837B401 for ; Tue, 1 Apr 2003 08:37:39 -0800 (PST) Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id D846343F85 for ; Tue, 1 Apr 2003 08:37:38 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr1.xmission.com with spam-scanned (Exim 3.35 #1) id 190Oaw-0005EK-01 for java@freebsd.org; Tue, 01 Apr 2003 09:26:43 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.35 #1) id 190OOA-0008C3-01; Tue, 01 Apr 2003 09:13:30 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id h31GDMk70282; Wed, 2 Apr 2003 01:43:22 +0930 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Wed, 2 Apr 2003 01:43:22 +0930 From: Greg Lewis To: Marc van Kempen Message-ID: <20030402014321.A70241@misty.eyesbeyond.com> References: <3E898C29.3080501@bowtie.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3E898C29.3080501@bowtie.nl>; from marc@bowtie.nl on Tue, Apr 01, 2003 at 02:55:05PM +0200 X-Spam-Status: No, hits=-3.5 required=8.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, SIGNATURE_SHORT_DENSE,SPAM_PHRASE_00_01,USER_AGENT, USER_AGENT_MUTT,X_AUTH_WARNING version=2.43 X-Spam-Level: cc: java@freebsd.org Subject: Re: jni.h and jni_md.h in jdk 1.4.1 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Apr 2003 16:37:39 -0000 On Tue, Apr 01, 2003 at 02:55:05PM +0200, Marc van Kempen wrote: > jni_md.h gets included in jni.h as follows: > > #include "jni_md.h" > > But that file sits in the subdirectory "bsd". This means that while compiling one should specify > -I.../include/bsd, but that is a platform specific directory isn't it? > > So shouldn't that line read: > > #include "bsd/jni_md.h" No. No other JDK 1.4.1 does this, neither do 1.3.1, 1.2.2, etc. What should probably be the case is that the file should be in a subdirectory named freebsd rather than bsd, since I've commonly seen this detected with the lowercase of `uname -s`. This would be in line with 1.3.1. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org