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

DefaultWriteObject Flag is always true in RMI-IIOP data stream

XMLWordPrintable

    • 04
    • generic
    • solaris_8
    • Not verified

      A customer has complained that the DefaultWriteObject Flag is not set correctly in RMI-IIOP data streams.

      In the code of
      com.sun.corba.se.internal.io.IIOPOutputStream.invokeObjectWriter()
      it says this:

      // Write format version
      writeByte(kFormatVersionOne);

      // Write defaultWriteObject indicator
      // - We write this as false, but may have to go back and
      undo this if it is later called

                    // Changed to true since this is what will happen in most
      cases. We still need
                    // to go back and fix this at some point.
      writeBoolean(true);

      Which is incorrect and needs to be fixed.

            hcarr Harold Carr
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: