Open gcotelli opened 1 year ago
This method is a Rowan extension and it's not working correctly for OrderedCollection. It works ok for ByteArray and Array, but for OrderedCollection, it returns an empty instance.
OrderedCollection
ByteArray
Array
Here's a test case showing the problem:
testOrderedCollectionNewWithAll | collection| collection := OrderedCollection new: 6 withAll: true. self assert: collection size equals: 6; assert: (collection allSatisfy: [:each | each ])
OrderedCollection class needs to reimplement new:withAll: since it reimplements new: in the GemStone base image.
This method is a Rowan extension and it's not working correctly for
OrderedCollection
. It works ok forByteArray
andArray
, but forOrderedCollection
, it returns an empty instance.Here's a test case showing the problem: