United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6228130 TabularDataSupport.entrySet() might specify key in the returned Set is wrapped into a List
JDK-6228130 : TabularDataSupport.entrySet() might specify key in the returned Set is wrapped into a List

Details
Type:
Bug
Submit Date:
2005-02-11
Status:
Closed
Updated Date:
2010-07-29
Project Name:
JDK
Resolved Date:
2005-12-21
Component:
core-svc
OS:
solaris_9
Sub-Component:
javax.management
CPU:
sparc
Priority:
P4
Resolution:
Fixed
Affected Versions:
5.0
Fixed Versions:

Related Reports
Relates:

Sub Tasks

Description
The entrySet() javadoc does not explicitely say the key in the returned Set is wrapped into a List (modifiable or not, that's another point).
However, the current Sun's implementation is done that way so there is somewhat a disconnect between specification and implementation.

I wonder if the sentence '/Each key contained in this set is an unmodifiable List./' taken from keySet() javadoc should not be present too in entrySet() javadoc, possibly rephrased though ?

###@###.### 2005-2-11 08:15:22 GMT

                                    

Comments
EVALUATION

As for 5100192, we should specify that this method returns a Set<List<Object>>.
###@###.### 2005-2-11 08:34:54 GMT
                                     
2005-02-11



Hardware and Software, Engineered to Work Together