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]

Re: Exception in SWT + serial port application


>>>>> "Ø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


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