diff -r 95d84a11bee3 -r 35ae5c70d60e jdk/src/java.desktop/windows/classes/sun/awt/Win32FontManager.java --- a/jdk/src/java.desktop/windows/classes/sun/awt/Win32FontManager.java Fri May 15 22:11:14 2015 +0300 +++ b/jdk/src/java.desktop/windows/classes/sun/awt/Win32FontManager.java Sat May 16 02:37:16 2015 +0300 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2008, 2015, 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 @@ -279,9 +279,9 @@ }); } - protected static native void registerFontWithPlatform(String fontName); + private static native void registerFontWithPlatform(String fontName); - protected static native void deRegisterFontWithPlatform(String fontName); + private static native void deRegisterFontWithPlatform(String fontName); /** * populate the map with the most common windows fonts.