DO NOT REPLY [Bug 46052] New: SetLocaleSupport is slow to initialize when many large items are on the classpath

[email protected]
Newsgroups gmane.comp.jakarta.taglibs.devel
Message-ID <[email protected]/bugzilla/>
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: [email protected]
        ReportedBy: [email protected]


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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.