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.
This annotation is supposed to be shown on a stack trace where it was caught, but that does not seem to work very reliably; usually it shown much higher (i.e. later in the log).
Created attachment 102171 [details] Demo action Ought to show [catch] at test190623.BreakAction.b(BreakAction.java:28) in both stack traces, but instead shows [catch] at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) in the first and [catch] at test190623.BreakAction$1.run(BreakAction.java:19) in the second.
Seems to have been caused by a switch to handling LogRecord's asynchronously - the catching thread, which calls publish(...), is not the thread printing the stack trace. For whatever reason, NbErrorManagerTest.testCatchMarker was not broken by the change.
Created attachment 102172 [details] Better demo Also shows nested causes being correctly displayed.
core-main #c8ebeaf8eaef
(Really far older than 6.10, but I am not sure when it first regressed.)
Integrated into 'main-golden', will be available in build *201009290000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/c8ebeaf8eaef User: Jesse Glick <jglick@netbeans.org> Log: #190623: "[catch]" usually misplaced