|
Quick Lists
|
|
Bug ID:
|
6176837
|
|
Votes
|
0
|
|
Synopsis
|
TabularDataSupport.entrySet() should prevent calls to Map.Entry.setValue on returned set elements
|
|
Category
|
jmx:classes
|
|
Reported Against
|
|
|
Release Fixed
|
|
|
State
|
11-Closed,
Will Not Fix,
request for enhancement
|
|
Priority:
|
5-Very Low
|
|
Related Bugs
|
5072268
|
|
Submit Date
|
11-OCT-2004
|
|
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.
xxxxx@xxxxx 10/11/04 10:07 GMT
|
|
Work Around
|
N/A
|
|
Evaluation
|
This would be cleaner, but is not completely trivial to implement and implies some additional runtime overhead.
xxxxx@xxxxx 10/11/04 10:07 GMT
Not a real problem so the effort would not be justified.
Posted Date : 2008-09-17 14:49:29.0
|
|
Comments
|
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |