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 :  
build: /net/jano.sfbay/export/disk29/jcg/NightlyBuilds/2d.pit/jdk7/archived/2007-03-05-int.jdk7.pit 
platform: RHEL 4, en_US locale
test: java/util/TimeZone/LinuxTZVM.sh

       Execution failed: exit code 1

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

command: shell LinuxTZVM.sh 
reason: User specified action: run shell/timeout=200 LinuxTZVM.sh 
elapsed time (seconds): 131.934
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)

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.

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.