JDK-4363397 : Kestrel-linux: regression test java/text/Format/TimeZoneNameTest fails
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.text
  • Affected Version: 1.3.0
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • CPU: x86
  • Submitted: 2000-08-17
  • Updated: 2000-10-20
  • Resolved: 2000-10-20
Related Reports
Duplicate :  
Relates :  
Description

Name: dkC103137			Date: 08/17/2000



 Test java/text/Format/TimeZoneNameTest from regression testsuite uses obsolete TimeZone names. The
test uses internal string array with expected time zones' names, which it compares with strings
received from GregorianCalendar objects by format() and getTime() methods.

 The test fails against builds b13 and b15 of Linux JDK1.3, and passes against build b11.

 Below is output from the test:
--------------------------------------------------------------
%java TimeZoneNameTest -nothrow
TimeZoneNameTest {
  Test4112924 {
    Europe/Paris: wrong long name: "Central European Standard Time" (expected "Central European
Time")
    WET: wrong long name: "Western European  Summer Time" (expected "Western European Summer Time")
    Africa/Cairo: wrong long name: "Egypt Standard Time" (expected "Eastern European Time")
    Africa/Cairo: wrong long name: "Egypt Daylight Time" (expected "Eastern European Summer Time")
  } FAILED
} FAILED
%
--------------------------------------------------------------

======================================================================

Comments
EVALUATION This is not a regression test bug, but a functionality bug. What happened is that the Solaris resource file for en_US (workaround fix) was incorporated as of 7/26/00, which had overridden the correct time zone name fix. Again, the test program is correct. Since this bug report was filed in the wrong subcategory, there was no chance to fix this problem before FCS. Too late to fix this for Kestrel-Linux. The wrong resource file will be removed in Ladybird. masayoshi.okutsu@Eng 2000-10-13 This problem will be fixed as part of 4112924. masayoshi.okutsu@Eng 2000-10-20
13-10-2000