Bug 551029 - don't try to access WorkbenchWindow.showHeapStatus from non
AbstractDebugTest.setPreferences() tried to access
WorkbenchWindow.showHeapStatus() to hide the status monitor (WHY???),
which is of course a very bad idea if Window needs access to SWT and we
are running in non UI thread.
This worked before as long as the heap status widget was not yet created
(because there was no widget to hide), but now we see that dong this was
not a good idea.
I don't think this monitor widget hiding is really needed for debug
tests, so simply remove the code doing this in the wrong thread.
Signed-off-by: Andrey Loskutov <firstname.lastname@example.org>
1 file changed