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

ObjectInputStream filterCheck method throws NullPointerException

    XMLWordPrintable

Details

    Backports

      Description

        The internal ObjectInputStream.filterCheck method throws NullPointerException in the case where the ObjectInputStream has been subclassed to override the InputStream accesses because the OIS itself has a null input stream.
        When a subclasses OIS is constructed via the protected no-arg constructor, information about the graph depth, number of references, and bytes in the input stream is not available.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: