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

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

XMLWordPrintable

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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: