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

ClientDelegate.addServiceContexts() records connections prematurely

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.4.1
    • 1.4.1
    • other-libs
    • None
    • 02
    • generic
    • generic
    • Not verified

        > ClientDelegate.addServiceContexts() records in the connection whether or
        > not the SendingContextRuntime has been sent or not. However, if
        > ForwardRequest occurs
        > we end up at ClientDelegate.createRequest (661) we then throw away the
        > service contexts and start again. If the connection for the forwarded
        > invoke is the _same_ as that of the original we will have recorded that we
        > sent SendingContextRuntime when actually we may not have.
        >
        > The attached patch fixes the problem by only recording that
        > SendingContextRuntime was sent at the last possible moment.

        There is also a test case in the attachment.

        ******************************************************************************

        ###@###.### 2002-12-10

        Fix verified OK

        With build - j2sdk-1_4_2-beta-bin-b09-solaris-sparcv9-04_dec_2002
        With test - /net/anybodys/export1/ws/rip-int-mantis/test/src/share/classes/mantis/m4764130

        ******************************************************************************

              hcarr Harold Carr
              mmma Marvin Ma (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: