Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8065555

Remove incorrect locale data for inexistent language 'German (Greece)'

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8u25, 9
    • Fix Version/s: 9
    • Component/s: globalization
    • Subcomponent:
    • Resolved In Build:
      b147
    • CPU:
      x86
    • OS:
      windows_7

      Description

      FULL PRODUCT VERSION :
      java version "1.8.0_25"
      Java(TM) SE Runtime Environment (build 1.8.0_25-b18)
      Java HotSpot(TM) Client VM (build 25.25-b02, mixed mode, sharing)

      A DESCRIPTION OF THE PROBLEM :
      localedata.jar contains sun.util.resources.de.CurrencyNames_de_GR,
      which seems to contains currency names in 'German (Greece)'. However, there's no such language, plus the contents of the class aren't actually in German - the entry for GRD are actually greek characters. This leads to the impression that that data isn't actually correct and should be removed.
      Note that there is no other locale data for de_GR.

      The ugly thing about that bogus data is that de_GR is even returned from java.util.Locale.getAvailableLocales(), which makes no sense at all.

      I suggest you remove that bogus sun.util.resources.de.CurrencyNames_de_GR (plus any other locale data I might have missed)


      REPRODUCIBILITY :
      This bug can be reproduced always.

        Attachments

          Activity

            People

            Assignee:
            ljiang Leo Jiang (Inactive)
            Reporter:
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: