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

JDK Build system implicitly assumes the C/en_US locale

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • 7
    • 7
    • 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'.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: