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

Ichiroh Takiguchi itakiguchi at openjdk.org
Sat Dec 2 03:23:21 UTC 2023


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

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

Commit messages:
 - Backport a26f7c03c72e4efe6d3219d294294c554aebc631

Changes: https://git.openjdk.org/jdk11u-dev/pull/2325/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=2325&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-6928542
  Stats: 288 lines in 3 files changed: 284 ins; 0 del; 4 mod
  Patch: https://git.openjdk.org/jdk11u-dev/pull/2325.diff
  Fetch: git fetch https://git.openjdk.org/jdk11u-dev.git pull/2325/head:pull/2325

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


More information about the jdk-updates-dev mailing list