This is the mail archive of the
frysk-bugzilla@sourceware.org
mailing list for the frysk project.
[Bug general/4299] New: System.exit() usage
- From: "mark at klomp dot org" <sourceware-bugzilla at sourceware dot org>
- To: frysk-bugzilla at sourceware dot org
- Date: 30 Mar 2007 15:25:09 -0000
- Subject: [Bug general/4299] New: System.exit() usage
- Reply-to: sourceware-bugzilla at sourceware dot org
As pointed out in a comment on bug #4174 System.exit() should not be used to
bail out in bad situations because it doesn't give the gui or the fhpd (or
anything else using frysk as library) a chance to properly notify the user what
happened (and clean things up).
The following classes use System.exit() at this time:
- frysk.rt.RunState
- frysk.util.FCatch
- frysk.util.StacktraceAction
- frysk.util.CoredumpAction
- frysk.gui.srcwin.SourceWindowFactory
- frysk.gui.common.Messages
- frysk.gui.Gui (this is probably the only class that should use it)
--
Summary: System.exit() usage
Product: frysk
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: general
AssignedTo: frysk-bugzilla at sourceware dot org
ReportedBy: mark at klomp dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=4299
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.