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 - NetBeans does not honor Thread.getDefaultUncaughtExceptionHandler
Summary: NetBeans does not honor Thread.getDefaultUncaughtExceptionHandler
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Module System (show other bugs)
Version: 6.x
Hardware: Other Linux
: P1 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-18 18:57 UTC by Jaroslav Tulach
Modified: 2011-03-20 18:55 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 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