This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Exception in SWT + serial port application
- From: Øyvind Harboe <oyvind dot harboe at zylin dot com>
- To: <java at gcc dot gnu dot org>
- Date: Thu, 19 Dec 2002 20:10:22 +0100
- Subject: Exception in SWT + serial port application
My application(SWT GUI + serial port communication) is kinda-sorta
running when I compile it with GCJ, but I receive the following
exception/requester:
win32-threads.cc:_Jv_ThreadInterrupt
Unimplemented
After some searching, I've jumped to some conclusions about what
is going on:
- Thread.interrupt() is not implemented in GCJ.
- Thread.interrupt() appears to be a C++ (JNI?) function as described
in http://gcc.gnu.org/java/port-threads.html
- My application is using www.serialio.com components instead of
javax.comm from Sun, and www.serialio.com uses Thread.interrupt().
I'm running the latest MinGW build.
Q: If I'm on the right track, is there a solution to this issue?
My GCJ superpowers are not quite yet up to the task of implementing
_Jv_ThreadInterrupt.
Øyvind