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

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Won't Fix
    • Priority: P5
    • None
    • Affects Version/s: 6
    • Component/s: 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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: