[Mono-bugs] [Bug 45029][Wis] Changed - ArrayList has wrong semantics for GetRange, ReadOnly, FixedSize etc

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Tue, 17 Jun 2003 20:42:39 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by tum@veridicus.com.

http://bugzilla.ximian.com/show_bug.cgi?id=45029

--- shadow/45029	Tue Jun 17 20:37:38 2003
+++ shadow/45029.tmp.17885	Tue Jun 17 20:42:39 2003
@@ -1,12 +1,12 @@
 Bug#: 45029
 Product: Mono/Class Libraries
 Version: unspecified
 OS: unknown
 OS Details: 
-Status: NEEDINFO   
+Status: REOPENED   
 Resolution: 
 Severity: Unknown
 Priority: Wishlist
 Component: CORLIB
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: tum@veridicus.com               
@@ -40,6 +40,16 @@
 ------- Additional Comments From duncan@ximian.com  2003-06-17 20:37 -------
 What do you mean by wrong semantics? Do you mean that our
 implementation has different semantics than the ones in .NET? Or do
 you mean that, in general, the semantics of these methods in the .NET
 Base Class Library are unintuitive? If the latter is the case, the
 solution would be for you to write your own Collection library.
+
+------- Additional Comments From tum@veridicus.com  2003-06-17 20:42 -------
+Oops, all of my comments dissapeared ...
+
+GetRange, ReadOnly and FixedSize should return *wrappers* but mono 
+returns *copies*.
+
+I've written a completely new version of ArrayList that does this 
+(and fixes some other small problems ;)) and have posted it to the 
+developers list.