Compiling rxtx with gcj

Tom Tromey tromey@redhat.com
Wed Sep 21 19:36:00 GMT 2005


>>>>> ">" == roychris  <roychris@free.fr> writes:

>> #5  0xb7fd4341 in send_event (env=0xb63501c8, jobj=0x1, type=1,
>>     flag=-1227872198) at /home/fbr/rxtx-2.1-6/src/ParallelImp.c:796

jobj=0x1?  That looks wrong.

>> 796             jclass jclazz = (*env)->GetObjectClass( env, jobj );

.. and could certainly cause a crash here (well, inside
GetObjectClass) when we try to dereference jobj.

So the next question is, why is it 0x1?

Tom



More information about the Java mailing list