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.
Should behave much like the current one does; but (1) never should dialogs; (2) use System.err for output only. core-windows.jar would register a slight replacement working like the current one.
Would make unit tests faster - you should not need to load NbTopManager just because you call ErrorManager.getDefault() and you have core.jar in your classpath.
Is not this already implemented? The default EM is DelegatingEM and if it has nowhere to delegate it just uses System.err.
No, it's not fixed. I know about EM.DEM but that's not what I want. I want the basic functionality of NbEM without the GUI exception dialog component, and I want that to the be the default EM you get with core.jar in the CP, with perhaps core-windows.jar adding in the dialog.
Still would be nice. Is it possible for the new logging-based NbEM to never show a dialog? Preferably would be automatic when you ran a unit test that just happened to have org-netbeans-core.jar in its classpath. May require the core impl of DialogDisplayer to be moved to core/windows?
As soon as issue 35067 is merged to trunk, the visual part of NbErrorManager can disabled by use of -Dnetbeans.exception.alert.min.level=2000 -Dnetbeans.exception.report.min.level=2000 as described at: http://www.netbeans.org/source/browse/core/arch/arch-core-launcher.xml?r1=1.42.4.2&r2=1.42.4.3