JDK-6228130 : TabularDataSupport.entrySet() might specify key in the returned Set is wrapped into a List
  • Type: Bug
  • Component: core-svc
  • Sub-Component: javax.management
  • Affected Version: 5.0
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris_9
  • CPU: sparc
  • Submitted: 2005-02-11
  • Updated: 2010-07-29
  • Resolved: 2005-12-21
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6 b43Fixed
Related Reports
Relates :  
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
11-02-2005