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

(tz): Default TZ detection fails on linux when symbolic links to non default location used.

    Details

    • Subcomponent:
    • Resolved In Build:
      b24
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        SHORT SUMMARY: JRE fails to detect default timezone on Linux post 6u18
        INDICATORS:
        A non standard setup where the /etc/localfile is symbolic but doesn't
        point to a file in /usr/share/zoneinfo.

        COUNTER INDICATORS:

        TRIGGERS: Cu is upgrading their TIBCO product which uses JRE 6u22.
        Bug fix 6456628 has changed behaviour for default TZ detection.

        KNOWN WORKAROUND: Use a static file for /etc/localtime or if Cu insists on
        using symbolic link, have it point to a directory structure idential to
        /usr/share/zoneinfo/

        PRESENT SINCE: 6u18

        HOW TO VERIFY:

        NOTES FOR SE: Investigate if TZ detection code on linux can be altered
        so that we don't create a dependency for a symbolic link to point to a
        zoneinfo
        directory :
        http://opengrok.ie.oracle.com:8080/opengrok/s?defs=getZoneName&project=6.0u21_
        sccs

        REGRESSION: For this Cu setup - Yes. (escalated)

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  coffeys Sean Coffey
                  Reporter:
                  shadowbug Shadow Bug
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: