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

Volkan Yazici vyazici at openjdk.org
Tue Oct 28 09:42:17 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 refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains one new 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/c599d8d3..7fc52675

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

  Stats: 2 lines in 1 file changed: 1 ins; 1 del; 0 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