Codereview request for 6898310: (cs) Charset cache lookups should be synchronized

Ulf Zibis Ulf.Zibis at
Fri Sep 2 13:17:08 UTC 2011

Am 02.09.2011 15:00, schrieb Rémi Forax:
> A way to solve the problem is to split AbstractCharsetProvider in two objects
> i.e we should create a new object named CharsetProviderView that contains
> deleteCharset() and charset() and provide this object as parameter of init.
> The idea is that during the initialization (in init()) calling deleteCharset/charset is safe,
> not after.

Calling deleteCharset/charset() from init() is completely superfluous.
See my implementation********(Replacement of AbstractCharsetProvider) from
*****Bug 100098* <> - Make sun.nio.cs.* charset 
objects light-weight**** :


More information about the core-libs-dev mailing list