Calendar / bug 10546

David Gilbert david.gilbert@object-refinery.com
Fri Oct 1 13:45:00 GMT 2004


The attached test case has been submitted with Classpath bug report
10546.  It fails with a recent CVS version of Classpath on JamVM 1.2.0,
fails with Sun's JDK 1.4, and passes with Sun's JDK 1.5:

dgilbert@linux42:~/workspace/mauve> jamvm -classpath .
gnu.testlet.SimpleTestHarness -file CurrentTests.txt -debug
FAIL: gnu.testlet.java.util.GregorianCalendar.getMinimalDaysInFirstWeek
(number 1)
got 1 but expected 4
FAIL: gnu.testlet.java.util.GregorianCalendar.getMinimalDaysInFirstWeek
(number 2)
got 1 but expected 4
2 of 2 tests failed
dgilbert@linux42:~/workspace/mauve> java14 -classpath .
gnu.testlet.SimpleTestHarness -file CurrentTests.txt -debug
FAIL: gnu.testlet.java.util.GregorianCalendar.getMinimalDaysInFirstWeek
(number 1)
got 1 but expected 4
FAIL: gnu.testlet.java.util.GregorianCalendar.getMinimalDaysInFirstWeek
(number 2)
got 1 but expected 4
2 of 2 tests failed
dgilbert@linux42:~/workspace/mauve> java15 -classpath .
gnu.testlet.SimpleTestHarness -file CurrentTests.txt -debug
0 of 2 tests failed

Regards,

Dave Gilbert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: getMinimalDaysInFirstWeek.java
Type: text/x-java
Size: 2210 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/mauve-patches/attachments/20041001/3180ca70/attachment.bin>


More information about the Mauve-patches mailing list