--- old/src/java.desktop/unix/classes/sun/awt/X11/XMouseInfoPeer.java 2014-12-09 10:07:34.565096830 -0800 +++ new/src/java.desktop/unix/classes/sun/awt/X11/XMouseInfoPeer.java 2014-12-09 10:07:34.413096823 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2006, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -75,6 +75,7 @@ return 0; } + @SuppressWarnings("deprecation") public boolean isWindowUnderMouse(Window w) { long display = XToolkit.getDisplay();