This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: [Java-gnome-developer] Re: java.lang.ClassNotFoundException: Lorg.gnu.glib.Handle32Bits;
- From: Jeff Morgan <kuzman at gmail dot com>
- To: Mark Wielaard <mark at klomp dot org>
- Cc: java at gcc dot gnu dot org, java-gnome-developer at lists dot sourceforge dot net
- Date: Wed, 5 Jan 2005 14:59:02 -0500
- Subject: Re: [Java-gnome-developer] Re: java.lang.ClassNotFoundException: Lorg.gnu.glib.Handle32Bits;
- References: <d9823ac105010116321a890db7@mail.gmail.com> <d9823ac105010116481563c0f8@mail.gmail.com> <28864c7b050103034375821985@mail.gmail.com> <28864c7b050103131965c83bc@mail.gmail.com> <1104953259.27609.7.camel@localhost.localdomain>
- Reply-to: Jeff Morgan <kuzman at gmail dot com>
Mark,
It was a silly error. The call to FindClass was as follows:
(*env)->FindClass(env, "L/org/gnu/glib/Handle;");
The leading 'L' and trailing ';' were causing the problem.
On Wed, 05 Jan 2005 20:27:39 +0100, Mark Wielaard <mark@klomp.org> wrote:
> Hi (CCed gcj malinglist),
>
> On Mon, 2005-01-03 at 16:19 -0500, Jeff Morgan wrote:
> > This should be fixed in the cvs head now. Funny, a call to FindClass
> > was made with incorrect parameters and failed with gcj and kaffe but
> > worked with Sun's JDK. Anyway, it now works with all jvms.
>
> Do you have an example of such a wrong call?
> Maybe we can improve the way FindClass handles this to give better
> diagnostics of the problem.
>
> Thanks,
>
> Mark
>
>
>
--
Jeffrey Morgan
"The highest reward for a man's toil is not
what he gets for it, but what he becomes by it"
- Jon Ruskin