ObjectInputStream.resolveClass() javadoc incorrect wrt loader used

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 6
    • Affects Version/s: 1.4.0
    • Component/s: core-libs

      The javadoc for ObjectInputStream.resolveClass() states:

        By default the class name is resolved relative to the class that
        called readObject.

      This statement is inaccurate (and has been present since JDK1.1). It should
      be changed to reflect serialization's actual class resolution algorithm,
      in which the name is resolved against the "latest user defined loader"
      (not including class loaders for generated reflection implementation classes).

            Assignee:
            Andrey Ozerov
            Reporter:
            Michael Warres (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: