JDK-8363925 : Remove unused sun.nio.cs.ArrayEncoder::encode
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.nio.charsets
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2025-07-23
  • Updated: 2025-10-30
  • Resolved: 2025-10-29
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 26
26 b22Fixed
Related Reports
Relates :  
Relates :  
Description
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.
Comments
Changeset: bbe5e83c Branch: master Author: Volkan Yazici <vyazici@openjdk.org> Date: 2025-10-29 09:58:10 +0000 URL: https://git.openjdk.org/jdk/commit/bbe5e83c3910dc4986a1dccf6fcf31d15710c71d
29-10-2025

[~alanb], thanks for the warning. I was thinking of JDK-8366575 (Remove SDP support), while typing at JDK-8363925 – fixed.
28-10-2025

[~vyazici] I see you've added the release-note=yes label to this issue, but this is a JDK internal interface so there is no change to any supported interface and shouldn't need a release note.
28-10-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/27999 Date: 2025-10-27 11:42:20 +0000
27-10-2025