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.
Integrated into 'main-golden', will be available in build *201103200400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Jaroslav Tulach <firstname.lastname@example.org>
Log: #196868: Honor Thread.UncaughtExceptionHandler
Merged to 6.9.2 as 1b937733f9f6
Merged to 7.0 as adbfba3c1b7d