JDK-4276858 : Regression test: java/util/TimeZone/WinTZVM.sh error
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util:i18n
  • Affected Version: 1.3.0
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_98,windows_nt
  • CPU: generic,x86
  • Submitted: 1999-09-30
  • Updated: 1999-10-28
  • Resolved: 1999-10-28
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.0 kestrelFixed
Related Reports
Duplicate :  
Relates :  
Description
 #Test Results (version 2)
#Fri Sep 24 19:03:07 PDT 1999
#checksum:41fc94305dc490b6
#-----testdescription-----
file=C:\\regtest\\test\\java\\util\\TimeZone\\WinTZVM.sh
keywords=bug4252829 shell
run=USER_SPECIFIED build DefaultTimeZoneID\r\nUSER_SPECIFIED shell WinTZVM.sh    After running this script. It's recommended to check out control panel  'Date & Time' to see correct Time & Zone is restored.\r\n
source=WinTZVM.sh
testsuite=C:\\regtest\\test
title=Test of correct handling of win time zone setting and java mappings

#-----environment-----

#-----testresult-----
description=file:C:/regtest/test/java/util/TimeZone/WinTZVM.sh
end=Fri Sep 24 19:03:07 PDT 1999
environment=regtest
execStatus=Error. Can't find source file: DefaultTimeZoneID.java in directory-list: C:\\regtest\\test\\java\\util\\TimeZone 
javatestVersion=JT_2.1.1a
script=javasoft.sqe.javatest.regtest.RegressionScript 
sections=script_messages build
start=Fri Sep 24 19:03:07 PDT 1999
status=Error. Can't find source file: DefaultTimeZoneID.java in directory-list: C:\\regtest\\test\\java\\util\\TimeZone 
test=java\\util\\TimeZone\\WinTZVM.sh
work=C:\\regtest\\JTwork\\java\\util\\TimeZone

#section:script_messages
----------messages:(1/63)----------
JDK under test: java full version "1.3.0-H" (G:/jdk1.3/win32)

#section:build
----------messages:(3/125)----------
command: build DefaultTimeZoneID 
reason: User specified action: run build DefaultTimeZoneID 
elapsed time (seconds): 0.0
result: Error. Can't find source file: DefaultTimeZoneID.java in directory-list: C:\regtest\test\java\util\TimeZone 


test result: Error. Can't find source file: DefaultTimeZoneID.java in directory-list: C:\regtest\test\java\util\TimeZone 

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

WORK AROUND
11-06-2004

SUGGESTED FIX *** /tmp/geta28524 Wed Oct 6 00:29:07 1999 --- WinTZVM.sh Wed Oct 6 00:26:37 1999 *************** *** 1,13 **** # @test @(#)WinTZVM.sh 1.2 99/08/23 # @bug 4252829 # @summary Test of correct handling of win time zone setting and java mappings ! # @build DefaultTimeZoneID ! # @run shell WinTZVM.sh # # After running this script. It's recommended to check out control panel # 'Date & Time' to see correct Time & Zone is restored. # - # JAVA=${TESTJAVA}/bin/java if [ "${TESTJAVA}" = "" ] --- 1,14 ---- # @test @(#)WinTZVM.sh 1.2 99/08/23 # @bug 4252829 # @summary Test of correct handling of win time zone setting and java mappings ! # @build DefaultIDCheck ! # @run shell/timeout=1800 WinTZVM.sh # + + # # After running this script. It's recommended to check out control panel # 'Date & Time' to see correct Time & Zone is restored. # JAVA=${TESTJAVA}/bin/java if [ "${TESTJAVA}" = "" ] *************** *** 30,36 **** else echo "skipped"; continue; fi ${JAVA} DefaultIDCheck "$javatz" || FAILED=1 ! done < ${TESTSRC}/winZones; ${TESTSRC}/winsettz "$DEF_ZONE" if [ $FAILED = 1 ] then exit 1 --- 31,37 ---- else echo "skipped"; continue; fi ${JAVA} DefaultIDCheck "$javatz" || FAILED=1 ! done < ${TESTSRC}/WinZones; ${TESTSRC}/winsettz "$DEF_ZONE" if [ $FAILED = 1 ] then exit 1 koushi.takahashi@japan 1999-10-06
06-10-1999

EVALUATION This should be test case defect. @build tag points wrong file name. koushi.takahashi@japan 1999-10-04 One more defect in test case, jtreg did parse the comments and exit as failed. New suggested fix has been confirmed on javatest2.1.1fcs to run. koushi.takahashi@japan 1999-10-06
04-10-1999