This is a known behavior ;-).
I guessed so, that's why I asked rather than saying that it is
a bug. Returning a cloned definition or a cloned list everytime could be
heavy on performance. I agree. By the way it would be possible only to
modify the list items since "String" is itself immutable
This is a known behavior ;-).
It is not a bug, it is an implementation choice (for efficiency, this
reduce the number of objects created ).
In the normal usage, you should only consult, add or remove attributes
from ComponentContext. You should not modify the attributes obtained
from the Comp