< prev index next >

modules/javafx.graphics/src/main/java/com/sun/javafx/application/PlatformImpl.java

Print this page
rev 10859 : 8195788: Remove obsolete javafx.jmx module
Reviewed-by:

*** 26,36 **** package com.sun.javafx.application; import static com.sun.javafx.FXPermissions.CREATE_TRANSPARENT_WINDOW_PERMISSION; import com.sun.javafx.PlatformUtil; import com.sun.javafx.css.StyleManager; - import com.sun.javafx.runtime.SystemProperties; import com.sun.javafx.tk.TKListener; import com.sun.javafx.tk.TKStage; import com.sun.javafx.tk.Toolkit; import com.sun.javafx.util.ModuleHelper; --- 26,35 ----
*** 397,410 **** } pendingRunnables.incrementAndGet(); waitForStart(); - if (SystemProperties.isDebug()) { - Toolkit.getToolkit().pauseCurrentThread(); - } - synchronized (runLaterLock) { if (!exiting && toolkitExit.get()) { // Don't schedule a runnable after we have exited the toolkit pendingRunnables.decrementAndGet(); return; --- 396,405 ----
*** 429,442 **** public static void runAndWait(final Runnable r) { runAndWait(r, false); } private static void runAndWait(final Runnable r, boolean exiting) { - if (SystemProperties.isDebug()) { - Toolkit.getToolkit().pauseCurrentThread(); - } - if (isFxApplicationThread()) { try { r.run(); } catch (Throwable t) { System.err.println("Exception in runnable"); --- 424,433 ----
< prev index next >