This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]