This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 20467 - Robustness of ErrorManager, RP, Mutex
Summary: Robustness of ErrorManager, RP, Mutex
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks: 20155
  Show dependency tree
 
Reported: 2002-02-12 16:16 UTC by Jesse Glick
Modified: 2008-12-22 19:54 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2002-02-12 16:16:55 UTC
As I wrote in issue #20155:

Re. RequestProcessor.java 1.54: I think that rather than catching
Exception here, ErrorManager.getDefault and NbErrorManager.notify
should internally catch RuntimeException just to be as robust as
possible. More generally than catching in RP.

Re. catching Error in RP: I think catching Error is probably dangerous
(OutOfMemoryError?!) but LinkageError may make sense. Mutex is
essentially the same situation. Definitely if a module *does* throw a
non-Exception from a task, this should be fixed in the module ASAP.
Comment 1 Marek Grummich 2002-07-22 11:18:30 UTC
Set target milestone to TBD
Comment 2 Marek Grummich 2002-07-22 11:21:18 UTC
Set target milestone to TBD
Comment 3 Jesse Glick 2003-02-06 16:41:05 UTC
committed   * Up-To-Date  1.23       
openide/src/org/openide/ErrorManager.java
committed   * Up-To-Date  1.54       
openide/src/org/openide/util/Mutex.java
committed   * Up-To-Date  1.65       
openide/src/org/openide/util/RequestProcessor.java
Comment 4 Jesse Glick 2003-12-02 22:34:49 UTC
Rolling back one part of the patch for 4.0 that was not really
appropriate:

committed     Up-To-Date  1.58       
openide/src/org/openide/util/Mutex.java