Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8256480

Refactor ObjectInputStream field reader implementation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 16
    • 16
    • core-libs
    • 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.

            rriggs Roger Riggs
            rriggs Roger Riggs
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: