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 196868

Summary: NetBeans does not honor Thread.getDefaultUncaughtExceptionHandler
Product: platform Reporter: Jaroslav Tulach <jtulach>
Component: Module SystemAssignee: Jaroslav Tulach <jtulach>
Status: RESOLVED FIXED    
Severity: normal CC: mmirilovic
Priority: P1    
Version: 6.x   
Hardware: Other   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:

Description Jaroslav Tulach 2011-03-18 18:57:33 UTC
JDK5 provides new API for handling uncaught exceptions. The Thread.getDefaultUncaughtExceptionHandler. However the TopThreadGroup ignores it, as it was written long time ago, before this API was introduced.

However for certain applications built on top of NetBeans Platform it may be useful to handle the exceptions by themselves. Thus it is desirable to honor Thread.getDefaultUncaughtExceptionHandler if provided.

The fix should be backported to release692 branch.
Comment 1 Jaroslav Tulach 2011-03-19 16:48:36 UTC
ergonomics#dd8fc4dc7886
Comment 2 Quality Engineering 2011-03-20 09:41:48 UTC
Integrated into 'main-golden', will be available in build *201103200400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/dd8fc4dc7886
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #196868: Honor Thread.UncaughtExceptionHandler
Comment 3 Jaroslav Tulach 2011-03-20 18:55:44 UTC
Merged to 6.9.2 as 1b937733f9f6
Merged to 7.0 as adbfba3c1b7d