[jdk17u-dev] RFR: 8301119: Support for GB18030-2022

Andrew John Hughes andrew at openjdk.org
Tue May 23 17:33:23 UTC 2023


This is the companion implementation change for the recent specification changes which allowed for the additional characters required to support GB18030-2022.

The backport from trunk is clean as regards code. The only manual adjustments necessary were applying the copyright header changes, as trunk has JDK-8260265: "UTF-8 by Default", a JEP added in OpenJDK 18.

Tests in `jdk/java/nio/charset` and `jdk/sun/nio/cs` all passed after patching.

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

Commit messages:
 - Backport a253b4602147633a3d2e83775d1feef4f12a5272

Changes: https://git.openjdk.org/jdk17u-dev/pull/1391/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=1391&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8301119
  Stats: 273 lines in 14 files changed: 117 ins; 41 del; 115 mod
  Patch: https://git.openjdk.org/jdk17u-dev/pull/1391.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/1391/head:pull/1391

PR: https://git.openjdk.org/jdk17u-dev/pull/1391


More information about the jdk-updates-dev mailing list