Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 May 2000 09:16:07 +0930 (CST)
From:      Greg Lewis <glewis@trc.adelaide.edu.au>
To:        past@netmode.ntua.gr
Cc:        freebsd-java@freebsd.org
Subject:   Re: OpenJIT - results with patchset 8 - Clear Steps to build it
Message-ID:  <200005262346.JAA79606@ares.trc.adelaide.edu.au>
In-Reply-To: <20000526180612.B14457@netmode.ece.ntua.gr> from Panagiotis Astithas at "May 26, 2000 06:06:12 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200005262346.JAA79606>