From owner-freebsd-java@FreeBSD.ORG Tue Aug 9 05:20:49 2005 Return-Path: X-Original-To: java@FreeBSD.org 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 972F416A41F; Tue, 9 Aug 2005 05:20:49 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (glewis.dsl.xmission.com [166.70.56.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 07D2B43D46; Tue, 9 Aug 2005 05:20:48 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.3/8.13.3) with ESMTP id j795KStM067034; Mon, 8 Aug 2005 23:20:28 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.3/8.13.3/Submit) id j795KRTg066886; Mon, 8 Aug 2005 23:20:27 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Mon, 8 Aug 2005 23:20:27 -0600 From: Greg Lewis To: "Mikhail T." Message-ID: <20050809052027.GA43606@misty.eyesbeyond.com> References: <200508060505.j7655frX045444@blue.virtual-estates.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200508060505.j7655frX045444@blue.virtual-estates.net> User-Agent: Mutt/1.4.2.1i Cc: gnome@FreeBSD.org, java@FreeBSD.org, glewis@FreeBSD.org, phantom@FreeBSD.org Subject: Re: should not jint be as wide as void* ? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Aug 2005 05:20:49 -0000 On Sat, Aug 06, 2005 at 01:05:41AM -0400, Mikhail T. wrote: > Looking deep into Mozilla's LiveConnect sources (under > mozilla/sun-java/stubs/include/) I gather, jint really > wants to be intptr_t -- not a mere int as, for example, > jdk1.5.0/include/freebsd/jni_md.h makes it out to be. > > Can anyone comment? Thanks! I'm doing a build of the current CVS on FreeBSD 5.4/amd64 at the moment. It hasn't gotten to the plugin build yet, but I'll be interested to see (a) if there are warnings about pointer widths and (b) if it works :). Until then, its worth noting that the Linux amd64 release from Sun (1.5.0_04) still has jint defined as int. It appears that Solaris in 64 bit mode also still has jint defined as an int. This raises some questions in terms of compatibility for us to change it to be something other than an int. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org