JEP 112: Charset Implementation Improvements

OwnerXueming Shen
TypeFeature
ScopeImplementation
StatusClosed / Delivered
Release8
Componentcore-libs
Discussioncore dash libs dash dev at openjdk dot java dot net
EffortS
DurationS
Endorsed byBrian Goetz
Created2011/07/28 20:00
Updated2015/01/22 17:18
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.