Community
Participate
Working Groups
Currently the JFace exception handler has application spope (Window#exceptionHandler is a static field). The way in which it is used by the workbench suggests that it should have session sope (also see bug 340007). In addition, the exception handler having application scope prevents multiple sessions from having different exception handling strageies. Imagine workbench and non-workbench entry points running side by side.
As bug 340007 has been fixed and org.eclipse.ui.internal.ExceptionHandler now has a session scope, we need to take care about Window#exceptionHandler too. It is set in Workbench#runUI().
Created attachment 191495 [details] Session scoped exceptionHandler
Applied patch to CVS HEAD.