JDK-6267824 : Clarify order the returned array is sorted with when calling Descriptor.getFieldValues(null)
  • Type: Bug
  • Component: core-svc
  • Sub-Component: javax.management
  • Affected Version: 6
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2005-05-10
  • Updated: 2010-07-29
  • Resolved: 2005-12-21
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6 b43Fixed
Description
Descriptor.getFieldValues() says returned values are ordered the same way as fieldNames is. But in case fieldNames is null, nothing is said about the order of returned values.
The order might be specified for all cases.
###@###.### 2005-05-10 09:15:40 GMT

Comments
SUGGESTED FIX The order values should be returned with when parameter is null may be in sync with the order of names as returned by Descriptor.getFieldNames(). ###@###.### 2005-05-10 09:15:41 GMT
10-05-2005

EVALUATION To this sentence: "If the array is null then all values will be returned" add the phrase: "as if the parameter were the array returned by {@link #getFieldNames()}." ###@###.### 2005-06-07 14:58:04 GMT
10-05-2005