On Wed, 4 Sep 2024 16:27:51 GMT, Kevin Walls <kev...@openjdk.org> wrote:

> Remove very very old serialization compatibility logic from JMX.
> 
> This relates to keeping the JDK's JMX implementation compatible with JMX 
> versions from when JMX was a separate component, before being integrated into 
> JDK 5.  It should all be removed.

Wow. I hadn't realized so many classes were impacted. I thought there was just 
a few!

Look good in general. It could be good to write a test that sets the property 
with 1.0 and 1.1, and that verifies that something (e.g. an ObjectName?) 
serialized with property=1.0 can be deserialized with property=1.1, and 
conversely.

That would validate that setting the property no longer has any effect.

-------------

PR Review: https://git.openjdk.org/jdk/pull/20856#pullrequestreview-2283335277

Reply via email to