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

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

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P5
    • Resolution: Won't Fix
    • Affects Version/s: 6
    • Fix Version/s: None
    • Component/s: core-svc
    • Labels:

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: