Loading...

taglibs-dev@jakarta.apache.org

[Prev] Thread [Next]  |  [Prev] Date [Next]

DO NOT REPLY [Bug 46052] New: SetLocaleSupport is slow to initialize when many large items are on the classpath bugzilla Tue Oct 21 15:00:24 2008

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.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]