JDK-4383485 : Regression test failed: java/util/Calendar/CalendarTest.java
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util:i18n
  • Affected Version: 1.4.0
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: linux,windows_nt
  • CPU: x86
  • Submitted: 2000-10-27
  • Updated: 2001-02-12
  • Resolved: 2001-01-30
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.4.0 betaFixed
Related Reports
Relates :  
Description
During Regression testing with jdk1.4 beta b36 on Win98SE in ar_enabled locale, 
Uncaught exception thrown in test method TestDisambiguation765

Below is a part of the test report:

----------System.out:(6/261)----------
CalendarTest {
  TestFieldSet4781 Passed
  TestGenericAPI Passed
  TestDisambiguation765 {
    FAIL: 1997 Tuesday in week 1 of June = Tue May 27 00:00:00 GMT+03:00 1997; expected 1997/6/3
    Uncaught exception thrown in test method TestDisambiguation765
----------System.err:(15/775)----------
java.lang.RuntimeException: Uncaught exception thrown in test method TestDisambiguation765

	at IntlTest.err(IntlTest.java:160)
	at IntlTest.errln(IntlTest.java:165)
	at IntlTest.run(IntlTest.java:113)
	at CalendarTest.main(CalendarTest.java:14)
	at java.lang.reflect.Method.invoke(Native Method)
	at javasoft.sqe.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
	at java.lang.Thread.run(../../../src/share/classes/java/lang/Thread.java:488)

JavaTest Message: Test threw exception: java.lang.RuntimeException: Uncaught exception thrown in test method TestDisambiguation765

JavaTest Message: shutting down test

STATUS:Failed.                                                                                                                    
result: Failed. Execution failed


test result: Failed. Execution failed


It passed on Win98SE in ja_locale.

keiko.nakayama@Eng 2000-10-26
==============================================================
al.smith@eng 2001-01-24

Regression test java/util/Calendar/CalendarTest.java Failing with Merlin b48

#Test Results (version 2)
#Fri Jan 19 00:36:51 PST 2001
#checksum:37fc25cf13e517e6
#-----testdescription-----
$file=/.automount/sqesvr/root/export/st1/regression/merlin/jdk1.4Tests/current-tests/java/util/Calendar/CalendarTest.java
$root=/.automount/sqesvr/root/export/st1/regression/merlin/jdk1.4Tests/current-tests
keywords=bug4064654
run=ASSUMED_ACTION main CalendarTest\n
source=CalendarTest.java
title=test for Calendar

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

#-----testresult-----
description=file:///.automount/sqesvr/root/export/st1/regression/merlin/jdk1.4Tests/current-tests/java/util/Calendar/CalendarTest.java
end=Fri Jan 19 00:36:51 PST 2001
environment=regtest
execStatus=Failed. Execution failed
javatestOS=Linux 2.2.14-6.1.1smp (i386)
javatestVersion=JT_2.1.3i
script=com.sun.javatest.regtest.RegressionScript 
sections=script_messages build compile main
start=Fri Jan 19 00:36:46 PST 2001
status=Failed. Execution failed
test=java/util/Calendar/CalendarTest.java
work=/export0/results/regression/merlin/b48/inclusion2.2.14-6.1.1smp-jth13-jdk14b48-01.18-23.26-All/java/util/Calendar

#section:script_messages
----------messages:(1/102)----------
JDK under test: java full version "1.4.0-beta-b48" (/net/sqesvr/export/st1/jdk14-beta/b48/linux-i386)

#section:build
----------messages:(3/98)----------
command: build CalendarTest 
reason: Named class compiled on demand
elapsed time (seconds): 2.233
result: Passed. Compilation successful

#section:compile
----------messages:(3/213)----------
command: compile /.automount/sqesvr/root/export/st1/regression/merlin/jdk1.4Tests/current-tests/java/util/Calendar/CalendarTest.java 
reason: .class file out of date or does not exist
elapsed time (seconds): 2.23
----------System.out:(0/0)----------
----------System.err:(2/205)----------
Note: /.automount/sqesvr/root/export/st1/regression/merlin/jdk1.4Tests/current-tests/java/util/Calendar/CalendarTest.java uses or overrides a deprecated API.
Note: Recompile with -deprecation for details.
result: Passed. Compilation successful

#section:main
----------messages:(3/123)----------
command: main CalendarTest
reason: Assumed action based on file name: run main CalendarTest 
elapsed time (seconds): 2.518
----------System.out:(10/302)----------
CalendarTest {
  TestFieldSet4781 Passed
  TestGenericAPI Passed
  TestDisambiguation765 Passed
  TestRoll Passed
  TestAddSetOrder621 Passed
  TestGregorianChange768 Passed
  TestSerialize337 {
    Serialization of Calendar object failed.
    Uncaught exception thrown in test method TestSerialize337
----------System.err:(15/592)----------
java.lang.RuntimeException: Uncaught exception thrown in test method TestSerialize337

	at IntlTest.err(IntlTest.java:160)
	at IntlTest.errln(IntlTest.java:165)
	at IntlTest.run(IntlTest.java:113)
	at CalendarTest.main(CalendarTest.java:14)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
	at java.lang.Thread.run(Thread.java:579)

JavaTest Message: Test threw exception: java.lang.RuntimeException: Uncaught exception thrown in test method TestSerialize337

JavaTest Message: shutting down test

STATUS:Failed.
result: Failed. Execution failed


test result: Failed. Execution failed
----------------------
It passed with jdk1.4 beta b51 on Win98 SE in ar enabled locale.



keiko.nakayama@Eng 2001-02-12

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

EVALUATION Probably a duplicate of 4383479. masayoshi.okutsu@Eng 2000-11-01 This test fails whenever firstDayOfWeek is not Sunday. This is not a regression. JDK1.2.1 also fails this test if firstDayOfWeek!=Sunday. yuka.kamiya@japan 2000-11-13 THIS IS NOT A REGRESSION BUG! PLEASE REMOVE THE REG TAG! masayoshi.okutsu@Eng 2001-01-25 Modified test program to use en_US locale. Since this is NOT a regression bug, I filed a new bug for the real problem. yuka.kamiya@japan 2001-01-29
25-01-2001