JDK-4960737 : DescriptorSupport(String[],Object[]) fails for null parameters
  • Type: Bug
  • Component: core-svc
  • Sub-Component: javax.management
  • Affected Version: 6
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2003-11-27
  • Updated: 2005-06-24
  • Resolved: 2005-06-24
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
6Resolved
Related Reports
Duplicate :  
Description
The Javadoc says that the fieldNames and fieldValues parameters to the DescriptorSupport(String[],Object[]) constructor can both be null, in which case an empty DescriptorSupport is produced.  But in fact the code throws a NullPointerException.

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: mustang
01-09-2004

PUBLIC COMMENTS .
01-09-2004

EVALUATION Should be straightforward to rework the current logic. Note, though, that if you want to create a DescriptorSupport with no elements, you might as well use the no-arg constructor. ###@###.### 2003-11-27
27-11-2003