This is the mail archive of the frysk-bugzilla@sourceware.org mailing list for the frysk 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]

[Bug general/4299] New: System.exit() usage


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.


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