JEP 112: Charset Implementation Improvements

OwnerXueming Shen
Created2011/07/28 20:00
Updated2014/07/10 20:15
TypeFeature
StatusCompleted
Componentcore-libs
ScopeImplementation
Discussioncore dash libs dash dev at openjdk dot java dot net
EffortS
DurationS
Priority4
Endorsed byBrian Goetz
Release8
Issue8046102

Summary

Improve the maintainability and performance of the standard and extended charset implementations.

Motivation

Description

This is the second part of the sun.nio.cs/ext re-implementation project. In JDK 7 most of the charsets (80%+) were re-implemented to achieve better maintainability and performance. This JEP continues that work to:

Testing

Need to ensure that the new implementations are completely compatible (for each and every code point) with the existing implementation. Will write new automatic unit tests running under current test framework to guarantee correctness.