This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: shriveling libgcj
- To: Adam Megacz <gcj at lists dot megacz dot com>
- Subject: Re: shriveling libgcj
- From: Jeff Sturm <jsturm at one-point dot com>
- Date: Fri, 9 Nov 2001 22:49:48 -0500 (EST)
- cc: java at gcc dot gnu dot org
On 9 Nov 2001, Adam Megacz wrote:
> > >- If I use CNI only (no JNI), can I ditch jni.o?
>
> > Sure, you'll probibly have to tweak libgcj though.
>
> Oh -- does libgcj use jni internally? I thought it was all CNI.
Yes, though the JNI code is closely intertwined with reflection. Last I
tried that, I had to stub out a few calls. I don't remember exactly which
they were.
Try it if you like, if you get no link failures it may just work.
(I though we had a --disable-jni configure option, or had I imagined it?)
Jeff