JDK-6533916 : (tz) regression test java/util/TimeZone/LinuxTZVM.sh on RH EL 4
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util:i18n
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: linux_redhat_4.0
  • CPU: x86
  • Submitted: 2007-03-13
  • Updated: 2011-11-29
  • Resolved: 2011-03-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other JDK 6 JDK 7
5.0u33Fixed 6u2Fixed 7 b14Fixed
Related Reports
Relates :  
Relates :  
Description
build: /net/jano.sfbay/export/disk29/jcg/NightlyBuilds/2d.pit/jdk7/archived/2007-03-05-int.jdk7.pit 
      b09
platform: RHEL 4, en_US locale
test: java/util/TimeZone/LinuxTZVM.sh

       Execution failed: exit code 1

   * closed/java/util/TimeZone/LinuxTZVM.sh

----------messages:(3/128)----------
command: shell LinuxTZVM.sh 
reason: User specified action: run shell/timeout=200 LinuxTZVM.sh 
elapsed time (seconds): 131.934
----------System.out:(312/12456)----------
...
Passed: America/Monterrey (/etc/sysconfig/clock)
Passed: America/New_York (softlink)
FAILED: got GMT-05:00, expected America/New_York (file)
Passed: America/New_York (/etc/sysconfig/clock)
...

Comments
WORK AROUND Please set the TZ environment variable for starting Java so that the Java runtime doesn't need to scan the data files under /usr/share/zoneinfo.
19-03-2007

EVALUATION A time zone patch for Linux seems to have changed the order of data files in /usr/share/zoneinfo and the platform time zone detection code picked up "posixrules". That hard link should be ingored.
19-03-2007