JDK-2169778 : jmx interop JDK5 - JDK6 issue when calling getMBeanInfo
  • Type: Backport
  • Backport of: JDK-6614558
  • Component: other-libs
  • Sub-Component: corba:idl
  • Priority: P1
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2008-11-19
  • Updated: 2011-02-16
  • Resolved: 2009-02-09
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.
Other JDK 6
5.0u17-rev b10Fixed 6u12Fixed
Comments
EVALUATION The problem is caused by an incorrect setting of defaultReadObjectFVDMembers in IIOPInputStream.defaultReadObjectDelegate, which cause the FVD for one class to be wrongly used for a defaultReadObject call to another (it should have been trying to read a HashMap, but instead it was trying to read a Descriptor, which is an interface, and cannot be instantiated). The fix is to clear the defaultReadObjectFVDMembers data member inside defaultReadObjectDelegate BEFORE calling inputClassFields (which can recurse back to defaultReadObjectDelegate if one of the data members is of a type that has a readObject method).
19-11-2008