Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P4
-
Resolution: Cannot Reproduce
-
Affects Version/s: 5.0
-
Fix Version/s: None
-
Component/s: core-libs
-
Labels:
-
Subcomponent:
-
CPU:sparc
-
OS:solaris_8
Description
Execute the following code with Concurrency preliminary test release 1
and see the result. removeAll() method of LinkedQueue doesn't return correct boolean value.
/* start of sample test code */
LinkedQueue < String > queue = new LinkedQueue < String> ();
queue.add("str1");
queue.add("str2");
queue.add("str3");
ArrayList list = new ArrayList();
list.add("str1");
list.add("str2");
System.out.println("status = " + queue.removeAll(list));
System.out.println(queue.toString());
/* end of sample test code */
This is only a backlog bug and added to bugtraq just for tracking purpose.
It has been fixed.
and see the result. removeAll() method of LinkedQueue doesn't return correct boolean value.
/* start of sample test code */
LinkedQueue < String > queue = new LinkedQueue < String> ();
queue.add("str1");
queue.add("str2");
queue.add("str3");
ArrayList list = new ArrayList();
list.add("str1");
list.add("str2");
System.out.println("status = " + queue.removeAll(list));
System.out.println(queue.toString());
/* end of sample test code */
This is only a backlog bug and added to bugtraq just for tracking purpose.
It has been fixed.