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

PI - PICurrent does not function as described in specification.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • other-libs
    • merlin
    • sparc
    • solaris_8

      The current PICurrent implementation creates a new [logical] thread-scoped PICurrent for each interceptor instance for each interception point. Upon further analysis, the specification seems to require that multiple interceptor instances should share the same thread-scoped PICurrent if they are being invoked during the same request and are having their same interception point invoked.

      Our current implementation makes it impossible to implement recursion detection for those interceptors that make recursive ORB-mediated calls.

      I have attached a test case that currently results in infinite recursion, but should execute flawlessly once this problem is fixed.

      See also Harold's trace of how infinite recursion detection should work in the given example.

            mrothsunw Mark Roth (Inactive)
            mrothsunw Mark Roth (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: