[BRLTTY] BRLTTY Java bindings -- UnsatisfiedLinkError
Samuel Thibault
samuel.thibault at ens-lyon.org
Wed May 27 08:33:20 EDT 2009
Simon Meers, le Wed 27 May 2009 22:23:41 +1000, a écrit :
> < if (!(jcexcep = (*jenv)->FindClass(jenv, "org/a11y/BrlAPI/Error"))) {
> ---
> > if (!(jcexcep = (*jenv)->FindClass(jenv, "org.a11y.BrlAPI.Error"))) {
Err, is that really correct? AIUI packages are dot-separated.
> < handle = (void*) (intptr_t) (*jenv)->GetLongField(jenv, jobj, handleID); \
> ---
> > handle = (void*) (intptr_t) (*jenv)->GetLongField(jenv, jcls, handleID); \
> < (*jenv)->SetLongField(jenv, jobj, handleID, (jlong) (intptr_t) handle);
> ---
> > (*jenv)->SetLongField(jenv, jcls, handleID, (jlong) (intptr_t) handle);
> 235c234
> < (*jenv)->SetLongField(jenv, jobj, handleID, (jlong) (intptr_t) NULL);
> ---
> > (*jenv)->SetLongField(jenv, jcls, handleID, (jlong) (intptr_t) NULL);
Ooops, these ones are bogus indeed.
When you produce patches, please use the -u option.
Samuel
More information about the BRLTTY
mailing list