8051519: Deprecate sun.java2d.SunGraphicsEnvironment.useAlternateFontforJALocales
authorprr
Fri, 25 Mar 2016 13:47:21 -0700
changeset 36917 02e8440be4d6
parent 36916 54775766cde0
child 36918 7f6b24ece62a
child 36920 ce4dac5fe02a
8051519: Deprecate sun.java2d.SunGraphicsEnvironment.useAlternateFontforJALocales Reviewed-by: mchung
jdk/src/java.desktop/share/classes/sun/java2d/SunGraphicsEnvironment.java
--- a/jdk/src/java.desktop/share/classes/sun/java2d/SunGraphicsEnvironment.java	Fri Mar 25 15:49:24 2016 +0300
+++ b/jdk/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();
     }