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

Order of POA destruction in poa.destroy(true, true) in not spec compliant

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      beta
    • CPU:
      sparc
    • OS:
      solaris_1
    • Verification:
      Not verified

      Description

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

      ###@###.### 2002-04-16

      - build - j2sdk-1_4_1-beta-bin-b08-solaris-sparc-09_apr_2002

      - spec reference (formal/99-10-07) Sections 11.3.5.2 & 11.3.8.4

      Problem description :
      As per the spec the section 11.3.8.4 the order of poa.destroy(true, true) seems to be
      1. destroy all descendents and etherealize their servants.
      2. Complete all executing requests in POA
      3. Apparent destruction of POA
      4. Etherealize all the servants in AOM.
      Section 11.3.5.2 defines the order for etherealization
      a. remove servant from AOM
      b. wait for completing all active request on the target object
      c. invoke etherealize on the servant

      But the order in implementation seems to be

      1. destroy all descendents and etherealize their servants.
      2. Apparent destruction of POA
      3. Invoke etherealize() on all the servants in AOM.
      4. Clear AOM
      5. Wait for completing all executing requests in POA

      See test attached in 4667121

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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              hputtaswsunw Hemanth Puttaswamy (Inactive)
              Reporter:
              smanuel Sony Manuel (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: