This is the mail archive of the
mailing list for the Java project.
Re: '/' versus '.' and jni (was Does jni work?)
- To: martin dot kahlert at infineon dot com
- Subject: Re: '/' versus '.' and jni (was Does jni work?)
- From: Tom Tromey <tromey at redhat dot com>
- Date: 26 Jan 2001 11:02:13 -0700
- Cc: java-discuss at sourceware dot cygnus dot com
- References: <20010126173052.A1259@keksy.muc.infineon.com>
- Reply-To: tromey at redhat dot com
>>>>> "Martin" == Martin Kahlert <firstname.lastname@example.org> writes:
Martin> The documentation (i.e. tutorials) on JNI i found usually uses slashes.
Martin> Is this incompatibility intentional?
Martin> As far as i can tell, the signatures in the templates
Martin> _Jv_JNI_GetAnyMethodID and friends should be changed from
Martin> '/' into '.', because this seems to be gcj's standard notation and
Martin> thus makes the least trouble.
Don't do that. Instead we should fix libgcj.
Martin> Warning: This would pollute java-discuss with silly questions!
Don't worry about that.
I'll look into the problem a little. The fix might be as simple as
changing `/' to `.' in _Jv_FindClassFromSignature.