-
Bug
-
Resolution: Fixed
-
P4
-
11, 17, 18
-
b21
-
generic
-
generic
-
Verified
A DESCRIPTION OF THE PROBLEM :
The deserialization method `readObjectNoData()` has no parameters (see serialization spec, or for example `Serializable` doc); however ReflectionFactory.readObjectNoDataForSerialization checks for the signature `readObjectNoData(ObjectInputStream)` (similarly the javadoc of the method sun.reflect.ReflectionFactory.readObjectNoDataForSerialization is also wrong).
Similarly the tests in `ReflectionFactoryTest` are also faulty / need improvements; they only manually invoke an ill-formed `readObjectNoData(ObjectInputStream)` method, but none of the tests seems to actually try deserialize data where a proper `readObjectNoData()` method would be called.
The deserialization method `readObjectNoData()` has no parameters (see serialization spec, or for example `Serializable` doc); however ReflectionFactory.readObjectNoDataForSerialization checks for the signature `readObjectNoData(ObjectInputStream)` (similarly the javadoc of the method sun.reflect.ReflectionFactory.readObjectNoDataForSerialization is also wrong).
Similarly the tests in `ReflectionFactoryTest` are also faulty / need improvements; they only manually invoke an ill-formed `readObjectNoData(ObjectInputStream)` method, but none of the tests seems to actually try deserialize data where a proper `readObjectNoData()` method would be called.
- csr for
-
JDK-8275392 jdk.unsupported/sun.reflect.ReflectionFactory.readObjectNoDataForSerialization uses wrong signature
-
- Closed
-