harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Hindess (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-468) CalendarTest compareTo test is unstable
Date Wed, 17 May 2006 08:38:05 GMT
CalendarTest compareTo test is unstable

         Key: HARMONY-468
         URL: http://issues.apache.org/jira/browse/HARMONY-468
     Project: Harmony
        Type: Bug

  Components: Classlib  
    Reporter: Mark Hindess
    Priority: Minor
 Attachments: unstable.calendar.test.diff

test_compareToLjava_util_Calendar is unstable.  (Insert a Thread.sleep(2000) at line 405 to
see it fail.)
The reason is that getInstance creates an entry with the current second and millisecond values.
set call retains these values unless clear is called first.  So the two identical sets can
have different second and millisecond values.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message