readUnshared, writeUnshared javadoc incorrect w.r.t. stream construction

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 1.4.0
    • Affects Version/s: 1.4.0
    • Component/s: core-libs
    • None
    • beta
    • generic
    • generic
    • Verified

      The javadoc for ObjectOutputStream.writeUnshared and
      ObjectInputStream.readUnshared states that writeUnshared/readUnshared cannot
      be overridden in subclasses which use ObjectInputStream/ObjectOutputStream's
      public one-argument constructor. This is not entirely accurate--such
      overriding is allowed provided the subclass is constructed in a
      security context possessing the "enableSubclassImplementation"
      SerializablePermission.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: