--- old/src/java.desktop/macosx/classes/sun/lwawt/LWComponentPeer.java 2016-12-19 22:11:42.000000000 +0300 +++ new/src/java.desktop/macosx/classes/sun/lwawt/LWComponentPeer.java 2016-12-19 22:11:42.000000000 +0300 @@ -1224,6 +1224,7 @@ * Changes the target of the AWTEvent from awt component to appropriate * swing delegate. */ + @SuppressWarnings("deprecation") private AWTEvent createDelegateEvent(final AWTEvent e) { // TODO modifiers should be changed to getModifiers()|getModifiersEx()? AWTEvent delegateEvent = null;