changeset 14058:87cccbd30faf

8051519: Deprecate sun.java2d.SunGraphicsEnvironment.useAlternateFontforJALocales Reviewed-by: mchung
author prr
date Fri, 25 Mar 2016 13:47:21 -0700
parents 82e237ee6cd5
children 5ef5a53e79b8 266db7445241
files src/java.desktop/share/classes/sun/java2d/SunGraphicsEnvironment.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.desktop/share/classes/sun/java2d/SunGraphicsEnvironment.java	Fri Mar 25 15:49:24 2016 +0300
+++ b/src/java.desktop/share/classes/sun/java2d/SunGraphicsEnvironment.java	Fri Mar 25 13:47:21 2016 -0700
@@ -208,9 +208,9 @@
      * to use Mincho instead of Gothic for dialoginput in JA locales
      * on windows. Not needed on other platforms.
      *
-     * DO NOT MOVE OR RENAME OR OTHERWISE ALTER THIS METHOD.
-     * ITS USED BY SOME NON-JRE INTERNAL CODE.
+     * @deprecated as of JDK9. To be removed in a future release
      */
+    @Deprecated
     public static void useAlternateFontforJALocales() {
         getFontManagerForSGE().useAlternateFontforJALocales();
     }