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

Regressions in unknown_adapter() and destroy()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • other-libs
    • None
    • beta
    • sparc
    • solaris_7
    • Not verified

      The scenarios described below were passing fine with rip-int build b20. However they are failing b21 onwards.

      1) AdapterActivator Test (tests/api/adapteractivator in workspace)

      According to test plan, create two child POAs poa1 and poa2 in root POA
      and destroy both the POAs. Only poa1 is recreated while calling
      unknown_adapter() method . So the first test case implemented with poa1
      is passing. Since poa2 is not recreated in unknown_adapter() method,
      when there is a reference for servant registered with poa2, it should
      throw OBJECT_NOT_EXIST exception. But now its throwing CORBA.UNKNOWN
      exception.

      2) poa/poa/destroy/test1 (tests/api/poa/poa/destroy/test1 in workspace)

      In this case there 3 child POAs are created on root POA. They are poa2
      on rootpoa, poa3 on poa2 and pos4 on poa3. The first test case destroys
      the poa2 and then try to invoke the method of the servant which is
      registered with poa2. Since the poa2 is already destroyed, it should
      throw OBJ_ADAPTER exception. But the test case is throwing
      CORBA.UNKNOWN exception.

      ********************************************************************************
      Ramshankar Rajha: 2001-08-15

      -Fix verified ok
       1) with build: j2sdk-1_4_0-beta_refresh-bin-b75-solsparc-09_arg_2001
       2) with test:
         tests/api/poa/servantactivator
         tests/api/poa/poa/destroy/test1

      -I am using muthu's bugtraq id to close the bugs. while i am waiting for my id to get activated.
      ********************************************************************************

            hcarr Harold Carr
            arungup Arun Gupta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: