Re: [Java-gnome-developer] Re: java.lang.ClassNotFoundException: Lorg.gnu.glib.Handle32Bits;
Brought to you by:
afcowie
From: Jeff M. <ku...@gm...> - 2005-01-05 21:37:24
|
Mark, There is one strange issue that I am unable to understand. Our textbuffer.TextBuffer example compiles and runs under kaffe and Sun's JDK but crashes under gij. It doesn't print a stacktrace. It just prints "Aborted". Have you seen this before? On Wed, 5 Jan 2005 14:59:02 -0500, Jeff Morgan <ku...@gm...> wrote: > 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 <ma...@kl...> 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 > -- 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 |