JDK Build system implicitly assumes the C/en_US locale

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • 7
    • Affects Version/s: 7
    • Component/s: infrastructure
    • generic
    • generic

      Currently, the JDK7 build fails if it runs in non-English locale, say Japanese as follows (this is on Solaris with ja_JP.UTF-8 locale):

      The reason of the problem is that the following line is in make/common/shared/Defs.gmk:

      USER_RELEASE_SUFFIX := $(shell echo $(USER)_`date '+%d_%b_%Y_%H_%M' | tr "A-Z" "a-z"`)

      The output of the 'date' command depends on the locale, which can lead to the build failure in non-English locales. In Japanese case, The month name is in Japanese, not like 'Apr'.

            Assignee:
            Kelly Ohair (Inactive)
            Reporter:
            Naoto Sato
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: