[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-2d-dev
Subject: Re: [OpenJDK 2D-Dev] RFR: 8051519: Deprecate sun.java2d.SunGraphicsEnvironment.useAlternateFontforJA
From: Phil Race <philip.race () oracle ! com>
Date: 2016-02-08 20:44:38
Message-ID: 56B8FE36.60204 () oracle ! com
[Download RAW message or body]
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.
>
[Attachment #3 (text/html)]
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Adding missing bug synopsis to the
subject line.<br>
<br>
-phil.<br>
<br>
On 02/08/2016 12:40 PM, Phil Race wrote:<br>
</div>
<blockquote cite="mid:56B8FD21.9070907@oracle.com" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
Bug : <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="https://bugs.openjdk.java.net/browse/JDK-8051519">https://bugs.openjdk.java.net/browse/JDK-8051519</a><br>
This internal AP being deprecated in preparation for removal in
JDK 10.<br>
Ordinarily we would remove it directly but it is known to be used
by<br>
non-JDK code, hence the deprecation. CCC approval is already
obtained<br>
<br>
diff in-line below<br>
<br>
diff --git
a/src/java.desktop/share/classes/sun/java2d/SunGraphicsEnvironment.java
b/src/java.desktop/share/classes/sun/java2d/SunGraphicsEnvironment.java<br>
---
a/src/java.desktop/share/classes/sun/java2d/SunGraphicsEnvironment.java<br>
+++
b/src/java.desktop/share/classes/sun/java2d/SunGraphicsEnvironment.java<br>
@@ -208,8 +208,7 @@<br>
* to use Mincho instead of Gothic for \
dialoginput in JA locales<br>
* on windows. Not needed on other platforms.<br>
*<br>
- * DO NOT MOVE OR RENAME OR OTHERWISE ALTER THIS \
METHOD.<br>
- * ITS USED BY SOME NON-JRE INTERNAL CODE.<br>
+ * @deprecated as of JDK9. To be removed in a future \
release.<br> */<br>
public static void useAlternateFontforJALocales() \
{<br>
\
getFontManagerForSGE().useAlternateFontforJALocales();<br> <br>
<big>-phil.</big><br>
<br>
</blockquote>
<br>
</body>
</html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic