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

TabularDataSupport.entrySet() should prevent calls to Map.Entry.setValue on returned set elements

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P5 P5
    • None
    • 6
    • core-svc

      javax.management.openmbean.TabularDataSupport.entrySet() contains the following text:
      "IMPORTANT NOTICE: Do not use the SetValue method of Map.Entry elements contained in the returned collection view. Doing so would corrupt the index to row mappings contained in this TabularDataSupport instance."
      Rather than stating this, the specification should say that attempting to call setValue will produce an exception, and the implementation should arrange for this to be the case.
      ###@###.### 10/11/04 10:07 GMT

            emcmanus Eamonn McManus
            emcmanus Eamonn McManus
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: