From 36eb2c47c4f3ac5915c9cf36797c1bb1b3025bde Mon Sep 17 00:00:00 2001 From: Leo Ufimtsev Date: Fri, 23 Feb 2018 11:30:36 -0500 Subject: Bug 531593 – [Webkit2] Crash in webkit on hover I can't reproduce the reported issue, but I can see a rare corner race condition where such a crash could occur. I.e, the race condition could be that webkit has internally disposed itself but we might be referencing it accidentally still. The fix is to guard against this. The fixes don't break anything as the jvm crash is occurring on webkit's disposal anyway. Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=531593 Change-Id: Ia7394ce301b237dcf5ac43edb6590f0f5003e49f Signed-off-by: Leo Ufimtsev --- .../eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Control.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/org.eclipse.swt.tests') diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Control.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Control.java index 0a8b0ae13d..98741f091b 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Control.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Control.java @@ -1110,7 +1110,7 @@ protected Point[] determineLocations(int paramA, int paramB, } @Test -public void testExceptionsThrownInDisposeListenerDontPreventDisposal () { +public void test_ExceptionsThrownInDisposeListenerDontPreventDisposal () { disposedIntentionally = true; Consumer oldHandler = Display.getCurrent ().getRuntimeExceptionHandler (); try { -- cgit v1.2.1