diff options
author | Leo Ufimtsev | 2018-02-23 16:30:36 +0000 |
---|---|---|
committer | Leo Ufimtsev | 2018-02-26 15:18:20 +0000 |
commit | 36eb2c47c4f3ac5915c9cf36797c1bb1b3025bde (patch) | |
tree | 6df1ee5fb04deab282905d38f0eed8ebadfbf8f4 /tests | |
parent | e2a13a7b45df3ed9ec3fc696e986286e76f22df4 (diff) | |
download | eclipse.platform.swt-36eb2c47c4f3ac5915c9cf36797c1bb1b3025bde.tar.gz eclipse.platform.swt-36eb2c47c4f3ac5915c9cf36797c1bb1b3025bde.tar.xz eclipse.platform.swt-36eb2c47c4f3ac5915c9cf36797c1bb1b3025bde.zip |
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 <lufimtse@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Control.java | 2 |
1 files changed, 1 insertions, 1 deletions
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<RuntimeException> oldHandler = Display.getCurrent ().getRuntimeExceptionHandler (); try { |