Summary
-------
Remove the undocumented system property `-Djdk.reflect.useOldSerializableConstructor=true` and the old implementation of `sun.reflect.ReflectionFactory::newConstructorForSerialization`.
Problem
-------
JDK-8315811 reimplements `sun.reflect.ReflectionFactory::newConstructorForSerialization` with method handles and adds an undocumented system property `-Djdk.reflect.useOldSerializableConstructor=true` to workaround any issue in JDK 22. This issue proposes to remove the system property and old implementation.
Solution
--------
Remove the undocumented system property `-Djdk.reflect.useOldSerializableConstructor=true` as well as the old implementation of `sun.reflect.ReflectionFactory::newConstructorForSerialization`.
Specification
-------------
After this change, setting `-Djdk.reflect.useOldSerializableConstructor=true` system property has no effect. Note that this system property is undocumented and no documentation needs to be updated.