The deprecated Configuration logic works as follows:
For a dK deprecated key in favor of nK:
- on set(dK, V), it stores (nK,V)
- on get(dK) it does a reverseLookup of dK to nK and looks for get(nK)
While this works fine for single set/get operations, the iterator() method that returns an iterator of all config key/values, returns only the new keys.
This breaks applications that did a set(dK, V) and expect, when iterating over the configuration to find (dK, V).