Adding missing bug synopsis to the subject line.

-phil.

On 02/08/2016 12:40 PM, Phil Race wrote:
Bug : https://bugs.openjdk.java.net/browse/JDK-8051519
This internal AP being deprecated in preparation for removal in JDK 10.
Ordinarily we would remove it directly but it is known to be used by
non-JDK code, hence the deprecation. CCC approval is already obtained

diff in-line below

diff --git a/src/java.desktop/share/classes/sun/java2d/SunGraphicsEnvironment.java b/src/java.desktop/share/classes/sun/java2d/SunGraphicsEnvironment.java --- a/src/java.desktop/share/classes/sun/java2d/SunGraphicsEnvironment.java +++ b/src/java.desktop/share/classes/sun/java2d/SunGraphicsEnvironment.java
@@ -208,8 +208,7 @@
      * 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.
      */
     public static void useAlternateFontforJALocales() {
         getFontManagerForSGE().useAlternateFontforJALocales();

-phil.


Reply via email to