United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-4873106 (tz) Regression test java/util/TimeZone/SolarisTZVM.sh is failing on Solaris 10
JDK-4873106 : (tz) Regression test java/util/TimeZone/SolarisTZVM.sh is failing on Solaris 10

Details
Type:
Bug
Submit Date:
2003-06-03
Status:
Closed
Updated Date:
2005-10-01
Project Name:
JDK
Resolved Date:
2003-06-24
Component:
core-libs
OS:
solaris_2.3,solaris_10
Sub-Component:
java.util:i18n
CPU:
x86,sparc
Priority:
P4
Resolution:
Fixed
Affected Versions:
1.4.2,1.4.2_11
Fixed Versions:
5.0 (tiger)

Related Reports
Backport:
Backport:
Duplicate:

Sub Tasks

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
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
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
tiger

FIXED IN:
tiger

INTEGRATED IN:
tiger
tiger-b10

VERIFIED IN:
tiger


                                     
2004-06-14



Hardware and Software, Engineered to Work Together