Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2019-01-17 13:00:58 +0000
committerAlexander Kurtakov2019-01-17 13:04:11 +0000
commit20451354d52669f213362f51d8fe66fe498e49a9 (patch)
tree6c43fe2f8af108b3718c2a68907705ca244b0300
parent6b666d3bb319a3558139fa04f8508d9ece58ff3b (diff)
downloadeclipse.platform.swt-20451354d52669f213362f51d8fe66fe498e49a9.tar.gz
eclipse.platform.swt-20451354d52669f213362f51d8fe66fe498e49a9.tar.xz
eclipse.platform.swt-20451354d52669f213362f51d8fe66fe498e49a9.zip
Bug 543222 - [GTK3] JVM crash in libc.so with Java frames:
org.eclipse.swt.internal.gtk.GDK._gdk_flush()V+0 on OpenJDK 9.0.4.11-6 on Fedora 28 Manually calling gdk_flush shouldn't be needed. Especially twice. Change-Id: Ifaaeb1b4ca2c4359f1fa457d32ed05df82e82f24 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java
index a2ab181c01..1e321e6895 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2018 IBM Corporation and others.
+ * Copyright (c) 2000, 2019 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
@@ -1510,10 +1510,6 @@ static long /*int*/ rendererRenderProc (long /*int*/ cell, long /*int*/ window,
}
void flushExposes (long /*int*/ window, boolean all) {
- if (!GTK.GTK4) {
- GDK.gdk_flush ();
- GDK.gdk_flush ();
- }
if (OS.isX11()) {
this.flushWindow = window;
this.flushAll = all;

Back to the top