This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Exception in SWT + serial port application
- From: Tom Tromey <tromey at redhat dot com>
- To: Øyvind Harboe <oyvind dot harboe at zylin dot com>
- Cc: <java at gcc dot gnu dot org>
- Date: 20 Dec 2002 11:50:13 -0700
- Subject: Re: Exception in SWT + serial port application
- References: <16B602A8A0347C41B07009FE4C29012F2284AF@isp-ex2k.intellimade.net>
- Reply-to: tromey at redhat dot com
>>>>> "Ø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