Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-86

[lang] FastDateFormat.getDateInstance(int, Locale) always uses the pattern from the first invocation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.1
    • None
    • None
    • Operating System: other
      Platform: Other

    • 26646

    Description

      The first time calling FastDateFormat.getDateInstance(int style, Locale locale)
      results in a correct stylepattern. Subsequent calls to the method with a
      different locale does not return the stylepattern for the Locale - but the one
      from the first invocation.

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--solution.patch
          0.6 kB
          Fredrik Westermarck
        2. ASF.LICENSE.NOT.GRANTED--test.patch
          0.7 kB
          Fredrik Westermarck

        Activity

          People

            Unassigned Unassigned
            fredrik.westermarck@mdh.se Fredrik Westermarck
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: