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

ClientDelegate.addServiceContexts() records connections prematurely

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 1.4.1
    • Fix Version/s: 1.4.1
    • Component/s: other-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      02
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Not verified

      Backports

        Description

        > 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

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

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: