-
Bug
-
Resolution: Fixed
-
P4
-
16
-
None
ObjectInputStream has nearly identical but separate implementations to read values from the stream.
Both read primitive and object values from the stream and return an object holding the values.
OIS.readFields() uses the internal class GetFieldImpl while OIS.defaultReadObject and reading Records uses the internal class FieldValues.
The significant difference between the two is whether dependencies are tracked or not in the object handle table.
Both read primitive and object values from the stream and return an object holding the values.
OIS.readFields() uses the internal class GetFieldImpl while OIS.defaultReadObject and reading Records uses the internal class FieldValues.
The significant difference between the two is whether dependencies are tracked or not in the object handle table.