--- old/src/java.desktop/unix/classes/sun/awt/X11/XWindow.java 2016-12-19 22:12:03.000000000 +0300 +++ new/src/java.desktop/unix/classes/sun/awt/X11/XWindow.java 2016-12-19 22:12:03.000000000 +0300 @@ -621,7 +621,7 @@ // 4 and 5 buttons are usually considered assigned to a first wheel return button == XConstants.buttons[3] || button == XConstants.buttons[4]; } - + @SuppressWarnings("deprecation") static int getXModifiers(AWTKeyStroke stroke) { int mods = stroke.getModifiers(); int res = 0;