You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-dev@jakarta.apache.org by bu...@apache.org on 2008/10/21 23:05:34 UTC
DO NOT REPLY [Bug 46052] New: SetLocaleSupport is slow to initialize
when many large items are on the classpath
https://issues.apache.org/bugzilla/show_bug.cgi?id=46052
Summary: SetLocaleSupport is slow to initialize when many large
items are on the classpath
Product: Taglibs
Version: 1.1
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Standard Taglib
AssignedTo: taglibs-dev@jakarta.apache.org
ReportedBy: piepera@pragmatics.com
The SetLocaleSupport class has a static initializer block which invokes
DateFormat.getAvailableLocales() and NumberFormat.getAvailableLocales(). These
operations crawl through all the Jar files on the classpath, and can take
several seconds.
Anything to make this run faster would be helpful. Alternatively, maybe we
could substitute our own list of Locales so that it wouldn't need search the
classpath, when performance is an issue.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org
DO NOT REPLY [Bug 46052] SetLocaleSupport is slow to initialize when
many large items are on the classpath
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46052
--- Comment #1 from Henri Yandell <ba...@apache.org> 2009-07-10 00:48:31 PST ---
Maybe some kind of notion of a pluggable DateLocaleFactory and
NumberLocaleFactory (insert better names). Seems doable.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org