Name: vi140966 Date: 08/11/2004
Inconsistency in specification for RenderingHints.entrySet().
The specification (JavaTM 2 Platform Standard Ed. 5.0) states
"Returns a Set view of the mappings contained in this RenderingHints.
Each element in the returned Set is a Map.Entry. The Set is backed by
so changes to the RenderingHints are reflected in the Set, and
vice-versa. If the RenderingHints
is modified while while an iteration over the Set is in progress, the
results of the iteration are undefined.
The entrySet returned from a RenderingHints object is not modifiable."
The method description says that the Set can be changed so these
modifications are reflected in the RenderingHints.
However the last statement prohibits any modifications of this Set. So
this needs to be clarified.