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

DefaultWriteObject Flag is always true in RMI-IIOP data stream

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      04
    • CPU:
      generic
    • OS:
      solaris_8
    • Verification:
      Not verified

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              hcarr Harold Carr
              Reporter:
              duke J. Duke (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: