diff -r 2a338536e642 -r f9cb6e427f9e jdk/src/java.desktop/unix/classes/sun/awt/X11/XToolkit.java --- a/jdk/src/java.desktop/unix/classes/sun/awt/X11/XToolkit.java Fri Sep 18 11:31:15 2015 -0700 +++ b/jdk/src/java.desktop/unix/classes/sun/awt/X11/XToolkit.java Sat Sep 19 15:45:59 2015 -0700 @@ -67,7 +67,7 @@ //There is 400 ms is set by default on Windows and 500 by default on KDE and GNOME. //We use the same hardcoded constant. - private final static int AWT_MULTICLICK_DEFAULT_TIME = 500; + private static final int AWT_MULTICLICK_DEFAULT_TIME = 500; static final boolean PRIMARY_LOOP = false; static final boolean SECONDARY_LOOP = true; @@ -140,8 +140,8 @@ */ static native long getTrayIconDisplayTimeout(); - private native static void initIDs(); - native static void waitForEvents(long nextTaskTime); + private static native void initIDs(); + static native void waitForEvents(long nextTaskTime); static Thread toolkitThread; static boolean isToolkitThread() { return Thread.currentThread() == toolkitThread; @@ -1102,7 +1102,7 @@ * Returns the value of "sun.awt.disableGtkFileDialogs" property. Default * value is {@code false}. */ - public synchronized static boolean getSunAwtDisableGtkFileDialogs() { + public static synchronized boolean getSunAwtDisableGtkFileDialogs() { if (sunAwtDisableGtkFileDialogs == null) { sunAwtDisableGtkFileDialogs = AccessController.doPrivileged( new GetBooleanAction("sun.awt.disableGtkFileDialogs")); @@ -1579,8 +1579,8 @@ return Math.min(XConstants.MAX_BUTTONS, ((SunToolkit) (Toolkit.getDefaultToolkit())).getNumberOfButtons()); } - private final static String prefix = "DnD.Cursor."; - private final static String postfix = ".32x32"; + private static final String prefix = "DnD.Cursor."; + private static final String postfix = ".32x32"; private static final String dndPrefix = "DnD."; @Override