[jdk11u-dev] Integrated: 6928542: Chinese characters in RTF are not decoded

Ichiroh Takiguchi itakiguchi at openjdk.org
Wed Jan 10 01:11:41 UTC 2024


On Sat, 2 Dec 2023 03:16:11 GMT, Ichiroh Takiguchi <itakiguchi at openjdk.org> wrote:

> Cherry-pick was failed because of following changes:
> 
> [8271456](https://bugs.openjdk.org/browse/JDK-8271456): Avoid looking up standard charsets in "java.desktop" module
> openjdk/jdk at 6b55ef3
> 8271456 was code cleanup issue, it's not required for JDK11.
> 
> On src/java.desktop/share/classes/javax/swing/text/rtf/RTFReader.java
> Following code is required
> 
> import static java.nio.charset.StandardCharsets.ISO_8859_1;
> 
> On src/java.desktop/share/classes/javax/swing/text/rtf/RTFParser.java
> Copyright year is changed from 2017 to 2023.
> 
> Could someone please review it?
> 
> Thanks,
> Ichiroh Takiguchi

This pull request has now been integrated.

Changeset: 224f0f30
Author:    Ichiroh Takiguchi <itakiguchi at openjdk.org>
URL:       https://git.openjdk.org/jdk11u-dev/commit/224f0f30bded37d003e66445bae98d9f7f80c60d
Stats:     288 lines in 3 files changed: 284 ins; 0 del; 4 mod

6928542: Chinese characters in RTF are not decoded

Reviewed-by: phh
Backport-of: a26f7c03c72e4efe6d3219d294294c554aebc631

-------------

PR: https://git.openjdk.org/jdk11u-dev/pull/2325


More information about the jdk-updates-dev mailing list