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

ObjectInputStream methods invoking the OIF.CFG.getSerialFilterFactory() silent about error cases.

    XMLWordPrintable

Details

    • b03

    Backports

      Description

        The specification of ObjectInputStream methods resulting in invocation of "ObjectInputFilter.Config.getSerialFilterFactory()" are not mentioning about any exception thrown by the apply() method.

        Currently the spec of constructor says - "The constructor initializes the deserialization filter to the filter returned by invoking the ObjectInputFilter.Config.getSerialFilterFactory() with null for the current filter and the static JVM-wide filter for the requested filter."

        The spec would be amended with context, "where invocation throws some exception" in all applicable places.

        Attachments

          Issue Links

            Activity

              People

                rriggs Roger Riggs
                kganapureddy Krushnareddy Ganapureddy
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: