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

AltStyle によって変換されたページ (->オリジナル) /