JDK-4873106 : (tz) Regression test java/util/TimeZone/SolarisTZVM.sh is failing on Solaris 10
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util:i18n
  • Affected Version: 1.4.2,1.4.2_11
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris_2.3,solaris_10
  • CPU: x86,sparc
  • Submitted: 2003-06-03
  • Updated: 2005-10-01
  • Resolved: 2003-06-24
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
1.3.1_21Fixed
Related Reports
Duplicate :  
Description
============================================================
JDK:Mantis jdk1.4.2 b25
OS : Solaris sparc 10 (b35)
Regression test case: test/java/util/TimeZone/SolarisTZVM.sh
=============================================================

Regression test java/util/TimeZone/SolarisTZVM.sh is failing with error as below;
===================================================
----------System.out:(11/237)----------
XST4:15XDT3:30,0/0:00,0/1:00
user.language=en
user.country=<unset>
user.timezone=GMT-04:15
Locale.getDefault()=en
GMT-04:15 ok
XST4:15XDT3:30,0/0:00,366/0:00
user.language=en
user.country=<unset>
user.timezone=GMT
Locale.getDefault()=en
----------System.err:(2/244)----------
Exception in thread "main" java.lang.RuntimeException: Fail: Expected offset -255, got 0: GMT -> sun.util.calendar
.ZoneInfo[id="GMT",offset=0,dstSavings=0,useDaylight=false,transitions=0,lastRule=null]
        at CheckVMZone.main(CheckVMZone.java:54)
result: Failed. Execution failed: exit code 1


test result: Failed. Execution failed: exit code 1
===================================================

* This problem does not occur on Solaris sparc 9/8.

Please see the attached log file for more detail.

* NOTE *
Solaris sparc 10:
[rs88024@myers]:> env TZ=XST4:15XDT3:30,0/0:00,366/0:00 date
Tue Jun  3 08:30:40 GMT 2003
[rs88024@myers]:> date -u
Tue Jun  3 08:30:55 GMT 2003

Solaris sparc 9:
[rs88024@ronrico]:> env TZ=XST4:15XDT3:30,0/0:00,366/0:00 date
Tue Jun  3 05:00:18 XDT 2003
[rs88024@ronrico]:> date -u
Tue Jun  3 08:30:33 GMT 2003


[###@###.### 2003-06-03]

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: tiger FIXED IN: tiger INTEGRATED IN: tiger tiger-b10 VERIFIED IN: tiger
2004-06-14

EVALUATION This might be a regression bug of Solaris 10 (OS). ###@###.### 2003-06-03 This is a regression test's bug which was detected with new implementation of the time code in Solaris 10. Will be fixed for Tiger. ###@###.### 2003-06-04
2003-06-03