[ 
https://issues.apache.org/jira/browse/LANG-1127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14529818#comment-14529818
 ] 

Charles Honton commented on LANG-1127:
--------------------------------------

Yes, as the default system values change, the cache will fill up with 
additional formats. However, the key to the cache is always some actual 
timezone/locale pair (not nulls). The proper format will be returned 
irregardless of the current system defaults. I believe there is even a unit 
test that covers this case. 

Chas



> Create a base test for the time package, which sets and resets default 
> Locales and TimeZones
> --------------------------------------------------------------------------------------------
>
>                 Key: LANG-1127
>                 URL: https://issues.apache.org/jira/browse/LANG-1127
>             Project: Commons Lang
>          Issue Type: Test
>          Components: lang.time.*
>            Reporter: Benedikt Ritter
>            Assignee: Charles Honton
>             Fix For: Patch Needed
>
>
> We have a lot of problems due to Locale dependent tests. I propose to create 
> a base test class with a setup and teardown method which set and reset 
> default locale and time zone. All other tests should inherit from this base 
> test class so that they don't have to fiddle around with default settings.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to