[Open Office] 64bit Sun JDK 1.5.0.06 - JNI exception
Hanno Meyer-Thurow
h.mth at web.de
Wed May 24 05:03:45 EDT 2006
On Tue, 23 May 2006 22:58:23 +0200
Hanno Meyer-Thurow <h.mth at web.de> wrote:
> Hi list,
> I found some users that tested ooc680-m2 with Sun JDK 1.5 on amd64.
> I traced it to this piece returning NULL and therefor throwing the 'JNI exception'.
> To be exact the CallObjectMethodA function returns NULL.
>
> # grep -n -A 3 -B 1 CallObjectMethodA stoc/source/javavm/javavm.cxx
> 1773- jclass class_UnoClassLoader = static_cast< jclass >(
> 1774: environment->CallObjectMethodA(cl1, method_loadClass, args));
> 1775- if (class_UnoClassLoader == 0) {
> 1776- handleJniException(environment);
> 1777- }
Attached is a diff that throws a usual Java error
when that 'JNI exception' happens.
Anyone on amd64 with Sun JDK 1.5 may test this, please.
Regards,
Hanno
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jni-debug.diff
Type: text/x-patch
Size: 379 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/openoffice/attachments/20060524/144baf36/jni-debug.bin
More information about the Openoffice
mailing list