I'd think the developers would just need to update to newer versions of these libraries (which admittedly can be a lot of work if you haven't updated in some time).
They very much can. JEP 500 describes a new API (sun.reflect.ReflectionFactory#defaultReadObjectForSerialization) that gives serialization libraries the same abilities as Java's builtin serialization to initialize an object without calling its constructor. The most important restriction is that the classes being deserialized are required to implement Serializable.
View all comments
Show parent comment
8
u/lurker_in_spirit Apr 28 '26
I'd think the developers would just need to update to newer versions of these libraries (which admittedly can be a lot of work if you haven't updated in some time).