diff -r 95d84a11bee3 -r 35ae5c70d60e jdk/src/java.desktop/windows/classes/sun/awt/Win32GraphicsDevice.java --- a/jdk/src/java.desktop/windows/classes/sun/awt/Win32GraphicsDevice.java Fri May 15 22:11:14 2015 +0300 +++ b/jdk/src/java.desktop/windows/classes/sun/awt/Win32GraphicsDevice.java Sat May 16 02:37:16 2015 +0300 @@ -226,7 +226,7 @@ * are disabled. Do not call this function with an index of 0. * @param index a PixelFormat index */ - protected native boolean isPixFmtSupported(int index, int screen); + private native boolean isPixFmtSupported(int index, int screen); /** * Returns the PixelFormatID of the default graphics configuration