Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6850361
Votes 0
Synopsis Avoid 2-step lookup in sun.nio.cs charset providers
Category java:char_encodings
Reported Against
Release Fixed
State 1-Dispatched, request for enhancement
Priority: 5-Very Low
Related Bugs
Submit Date 11-JUN-2009
Description
A DESCRIPTION OF THE REQUEST :
By retrieving a Charset  customer  from FastCharsetProvider or AbstractCharsetProvider via charsetForName(String name), the canonical name of the charset is first lookuped from alias->canonical map, and 2ndly lookuped from canonical->charset map.

JUSTIFICATION :
Directly mapping from alias name to Charset instance by only 1 map would perform better.
Additionally is would save some memory.
Posted Date : 2009-06-11 15:27:11.0
Work Around
N/A
Evaluation
N/A
Comments
  
  Include a link with my name & email   

Submitted On 31-JUL-2009
UlfZibis
Fix available:
https://bugs.openjdk.java.net/show_bug.cgi?id=100095



PLEASE NOTE: JDK6 is formerly known as Project Mustang