harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Zhou (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-6145) [classlib][luni] java.lang.LinkedList.addAll(Collection<? extends E> collection) runs into endless loop
Date Fri, 10 Apr 2009 08:10:13 GMT
[classlib][luni] java.lang.LinkedList.addAll(Collection<? extends E> collection) runs
into endless loop
-------------------------------------------------------------------------------------------------------

                 Key: HARMONY-6145
                 URL: https://issues.apache.org/jira/browse/HARMONY-6145
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
    Affects Versions: 5.0M8
            Reporter: Kevin Zhou
            Priority: Critical
             Fix For: 5.0M9


Given a test case [1], RI successfully passes it while HY runs into endless loop.

[1] Test Case:
public void test_addAll_Self_Ljava_util_Collection() {
    LinkedList linkedList = new LinkedList();
    linkedList.addLast(1);
    assertEquals(1, linkedList.size());
    assertTrue(linkedList.addAll(linkedList));
    assertEquals(2, linkedList.size());
}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message