[Mono-bugs] [Bug 595831] New: Trouble with the Queue.Clone() method
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Apr 12 12:53:35 EDT 2010
http://bugzilla.novell.com/show_bug.cgi?id=595831
http://bugzilla.novell.com/show_bug.cgi?id=595831#c0
Summary: Trouble with the Queue.Clone() method
Classification: Mono
Product: Mono: Class Libraries
Version: 2.4.x
Platform: i386
OS/Version: Ubuntu
Status: NEW
Severity: Normal
Priority: P5 - None
Component: CORLIB
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: antoiner at media-tec.com.mx
QAContact: mono-bugs at lists.ximian.com
CC: antoiner at media-tec.com.mx
Found By: DeveloperNet
Blocker: No
Description of Problem:
The Clone method of a queue value doesn't respect the data order.
Steps to reproduce the problem:
1. EnQueue multiple UINT64[2] data in a Queue variable.
2. Clone the Queue to another one with the Clone method
3. Output the data through DeQueue method in the cloned Queue
Actual Results:
Original Queue (EnQueue Order)
{1,1}
{2,1}
{3,1}
{4,1}
{5,1}
Cloned Queue (DeQueue Order)
{1,1}
{4,1}
{3,1}
{1,1}
{5,1}
Expected Results:
Original Queue (EnQueue Order)
{1,1}
{2,1}
{3,1}
{4,1}
{5,1}
Cloned Queue (DeQueue Order)
{1,1}
{2,1}
{3,1}
{4,1}
{5,1}
How often does this happen?
Always, give a random order (might be the good one with small number of items
inside the Queue).
Additional Information:
The Clone Queue has a random order of the data.
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list