This is the mail archive of the java-discuss@sources.redhat.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: '/' versus '.' and jni (was Does jni work?)


>>>>> "Martin" == Martin Kahlert <martin.kahlert@infineon.com> writes:

Martin> The documentation (i.e. tutorials) on JNI i found usually uses slashes.
Martin> Is this incompatibility intentional?

No.

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.

Tom

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]