Geir,

I assume you don't mind me stealing JIRA issues from you ;-)

Are new issues being created as 'Unassigned'? just in case I
accidentally swipe one that you really are working on.

Regards,
Tim

Tim Ellison (JIRA) wrote:
>      [ http://issues.apache.org/jira/browse/HARMONY-20?page=all ]
> 
> Tim Ellison reassigned HARMONY-20:
> ----------------------------------
> 
>     Assign To: Tim Ellison  (was: Geir Magnusson Jr)
> 
>> java.util.Collections rotate() gives incorrect result with distance 
>> parameter of min possible integer value
>> -----------------------------------------------------------------------------------------------------------
>>
>>          Key: HARMONY-20
>>          URL: http://issues.apache.org/jira/browse/HARMONY-20
>>      Project: Harmony
>>         Type: Bug
>>   Components: Classlib
>>  Environment: All
>>     Reporter: George Harley
>>     Assignee: Tim Ellison
>>     Priority: Minor
> 
>> This unit test fails against the contribution. 
>>      public void testRotateListByMinInteger() {
>>              List list = new ArrayList();
>>              list.add(0, "zero");
>>              list.add(1, "one");
>>              list.add(2, "two");
>>              list.add(3, "three");
>>              list.add(4, "four");
>>              Collections.rotate(list, Integer.MIN_VALUE);
>>              assertEquals("Rotated incorrectly at position 0, ", "three",
>>                              (String) list.get(0));
>>              assertEquals("Rotated incorrectly at position 1, ", "four",
>>                              (String) list.get(1));
>>              assertEquals("Rotated incorrectly at position 2, ", "zero",
>>                              (String) list.get(2));
>>              assertEquals("Rotated incorrectly at position 3, ", "one",
>>                              (String) list.get(3));
>>              assertEquals("Rotated incorrectly at position 4, ", "two",
>>                              (String) list.get(4));
>>      }
> 

-- 

Tim Ellison ([EMAIL PROTECTED])
IBM Java technology centre, UK.

Reply via email to