[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug classpath/27564] New: resources for java.text.NumberFormat#computeI
From: |
kiyun dot roe at active-endpoints dot com |
Subject: |
[Bug classpath/27564] New: resources for java.text.NumberFormat#computeInstance() should be included in base LocaleInformation.properties |
Date: |
11 May 2006 20:36:13 -0000 |
getNumberInstance() and getIntegerInstance() in java.text.NumberFormat call
computeInstance() to perform a resource search for default format strings.
These resource searches generally fail and require exception handling in
computeInstance(), because the default values are not in
LocaleInformation.properties or any of the other locale property files. This
makes calls to getNumberInstance() and getIntegerInstance() much more expensive
than necessary. This expense can be avoided simply by putting the default
format strings for getNumberInstance() and getIntegerInstance() in
LocaleInformation.properties. Note that the cost also propagates to
java.text.MessageFormat#format(), which can make an arbitrary number of calls
to getNumberInstance() and getIntegerInstance().
--
Summary: resources for java.text.NumberFormat#computeInstance()
should be included in base LocaleInformation.properties
Product: classpath
Version: 0.90
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: classpath
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: kiyun dot roe at active-endpoints dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27564
- [Bug classpath/27564] New: resources for java.text.NumberFormat#computeInstance() should be included in base LocaleInformation.properties,
kiyun dot roe at active-endpoints dot com <=