Exception in SWT + serial port application
Tom Tromey
tromey@redhat.com
Fri Dec 20 10:49:00 GMT 2002
>>>>> "Ãyvind" == Ãyvind Harboe <oyvind.harboe@zylin.com> writes:
Ãyvind> After some testing I've concluded that the only user-noticeable
Ãyvind> problem with _Jv_ThreadInterrupt for my application is that it
Ãyvind> puts up a message box. If it printed out a nasty warning to
Ãyvind> System.err instead of putting up a message box, I would be done.
It seems to me that instead of putting up a dialog it should just
throw some kind of exception.
That might not be any better for you, though, since then you'd have to
make sure it was caught at the right place.
Ãyvind> - compile a special version of GCJ which does nothing in
Ãyvind> _Jv_ThreadInterrupt. This requires me to drink that mail-order
Ãyvind> radioactive potion to get mutant GCJ superpowers :-)
This probably isn't as difficult as it sounds.
Tom
More information about the Java
mailing list