Bug 44625

GemStone/S 64 Bit

3.2.2, 3.2.1, 3.2,,,,,,, 3.0.1, 3.0, 2.4.8, 2.4.7, 2.4.6,, 2.4.5,,, 2.4.x,, 2.3.x,, 2.x

All Platforms


KeyvalueDictionary removeKey:* on nil doesn't always return an error

Nil is not a valid value for a key in a KeyValueDictionary, and attempting to add it will trigger a #rtErrNilKey (2090) error.  You *should* get this error when attempting to remove a nil key.  But frequently the key-not-present behavior will happen instead:

For #removeKey:ifAbsent:  The ifAbsent block will be executed. For #removeKey:otherwise:  The otherwise value will be returned.

Last updated: 10/13/14