<i18n dev> RFR: 8363925: Remove unused sun.nio.cs.ArrayEncoder::encode [v3]

Volkan Yazici vyazici at openjdk.org
Tue Oct 28 09:37:58 UTC 2025


> [JDK-6636319] introduced `ArrayEncoder`, composed of _only_ `encode` method. Later on [JDK-8054307] (JEP 254: Compact Strings)  removed all its usages. This method can safely be removed, hence this PR. Confirmed that `tier1-2` tests are clear on several platforms after changes.
> 
> [JDK-6636319]: https://bugs.openjdk.org/browse/JDK-6636319
> [JDK-8054307]: https://bugs.openjdk.org/browse/JDK-8054307

Volkan Yazici has updated the pull request incrementally with one additional commit since the last revision:

  Remove `ArrayEncoder` defaults and add `dp` parameter

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/27999/files
  - new: https://git.openjdk.org/jdk/pull/27999/files/a8c471f2..c599d8d3

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=27999&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=27999&range=01-02

  Stats: 34 lines in 8 files changed: 0 ins; 14 del; 20 mod
  Patch: https://git.openjdk.org/jdk/pull/27999.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27999/head:pull/27999

PR: https://git.openjdk.org/jdk/pull/27999


More information about the i18n-dev mailing list