JDK-8186801 : Add regression test to test mapping based charsets (generated at build time)
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.nio.charsets
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2017-08-27
  • Updated: 2025-06-17
  • Resolved: 2017-08-30
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 10 Other Other
10 b22Fixed openjdk8u382Fixed openjdk8u392,shenandoah8u382Fixed
Related Reports
Relates :  
Description
To migrate one of the charset/encoding regression tests that still in closed repo, test/closed/sun/nio/cs/TestCoder.java

This is the test to test the correctness of the b2c/c2b mapping table of the generated (from mappings) charsets. 
Comments
8u [critical request] This is a pre-requisite for JDK-8301119 ("Support for GB18030-2022") and so is being proposed for inclusion in 8u382 during rampdown, so that the changes are in place for when GB18030-2022 enforcement begins in August. It introduces GB18030.map, containing the character mappings for GB18030, and tests to verify the correct mappings happen at run-time.
23-06-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk8u/pull/43 Date: 2023-06-16 15:55:38 +0000
16-06-2023

URL: http://hg.openjdk.java.net/jdk10/jdk10/jdk/rev/787703ab9a62 User: sherman Date: 2017-08-30 17:12:18 +0000
30-08-2017