From owner-freebsd-java Fri May 26 16:46:21 2000 Delivered-To: freebsd-java@freebsd.org Received: from ares.trc.adelaide.edu.au (ares.trc.adelaide.edu.au [129.127.246.5]) by hub.freebsd.org (Postfix) with ESMTP id 53A0D37B7F2 for ; Fri, 26 May 2000 16:46:15 -0700 (PDT) (envelope-from glewis@ares.trc.adelaide.edu.au) Received: (from glewis@localhost) by ares.trc.adelaide.edu.au (8.9.3/8.9.3) id JAA79606; Sat, 27 May 2000 09:16:08 +0930 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200005262346.JAA79606@ares.trc.adelaide.edu.au> Subject: Re: OpenJIT - results with patchset 8 - Clear Steps to build it In-Reply-To: <20000526180612.B14457@netmode.ece.ntua.gr> from Panagiotis Astithas at "May 26, 2000 06:06:12 pm" To: past@netmode.ntua.gr Date: Sat, 27 May 2000 09:16:07 +0930 (CST) Cc: freebsd-java@freebsd.org X-Mailer: ELM [version 2.4ME+ PL70 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Panagiotis Astithas wrote: > > 4) change line 171 in CClassHeaders/org_OpenJIT_Compile.h (2 changes) to: > > > > extern char org_OpenJIT_Compile_ConstantPoolFieldDescriptor(struct > > Horg_OpenJIT_Compile *, jint); > > Actually, as Peter van Heusden pointed out, you only need to make one change, > the return type of the function must be char. Obviously jint is the same as > int32_t. To be precise: #ifdef _LP64 /* 64-bit Solaris */ typedef int jint; #else typedef long jint; #endif (from src/freebsd/javavm/export/jni_md.h) -- Greg Lewis glewis@trc.adelaide.edu.au Computing Officer +61 8 8303 5083 Teletraffic Research Centre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message