JDK-6616825 : JMX query returns no value in 1.0 compatibility mode - deserialization bug in readObject()
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.
The ObjectName readObject() method (deserialization) is wrong
when -Djmx.serial.form=1.0 is used. There is a test case in the attachment which shows the bug.
See attached jdk5-ObjectName.java.patch (for javax/management/ObjectName.java)
See attached jdk5-SerialCompatTest.java.patch (for additional serial compatibility
for a description of the suggested fix [note: Frames diff may not work]
*** (#1 of 1): [ UNSAVED ] ###@###.###
The problem is in ObjectName.readObject() which doesn't take into account the
value of the "propertyPattern" field.