Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6228130

TabularDataSupport.entrySet() might specify key in the returned Set is wrapped into a List

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 6
    • 5.0
    • core-svc
    • b43
    • sparc
    • solaris_9
    • Verified

      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

            lmalvent Luis-Miguel Alventosa (Inactive)
            yjoan Yves Joan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: