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

find_POA doesn't raise AdapterNonExistent if unknown_adapter returns FALSE

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • other-libs
    • None
    • beta3
    • sparc
    • solaris_8
    • Verified

      *******************************************************************************
      ###@###.### 2001-09-10

      - Build: j2sdk-1_4_0-beta3-bin-b78-solsparc-27_aug_2001

      - Specification:
        1) CORBA 2.3.1 - formal/99-10-07 - section 11.3.8.3
        2) OMG issue# 3740: description of unknown_adapter(orb_revision)

      - Problem description:
        According to the "Revised Text:" of the OMG issue# 3740 on 2nd item that
        "If unknown_adapter returns FALSE then find_POA raises AdapterNonExistent."
        Unfortunately, with merlin b78, the find_POA raised
        org.omg.CORBA.OBJECT_NOT_EXIST instead. Following is the stack trace output

      TestAdapterActivator.unknown_adapter() is returning "false"
      org.omg.CORBA.OBJECT_NOT_EXIST: vmcid: SUN minor code: 1002 completed: No
              at com.sun.corba.se.internal.POA.POAImpl.objectNotExist(POAImpl.java:1243)
              at com.sun.corba.se.internal.POA.POAImpl.find_POA(POAImpl.java:558)
              at api.poa.poa.findpoa.FindPoaTest.findPoaTest003(FindPoaTest.java:149)
              at api.poa.poa.findpoa.FindPoaTest.<init>(FindPoaTest.java:33)
              at api.poa.poa.findpoa.FindPoaTest.main(FindPoaTest.java:161)

      - Corba-sqe test source:
        /java/idl/ws/rip/RIP_TEST_MASTER/tests/api/poa/poa/findpoa/FindPoaTest.java

        the "findPoaTest003" scenario.
      *******************************************************************************
      ###@###.### 2001-11-14

      - Fix verified OK
        - With build: j2sdk-1_4_0-rc-bin-b86-solsparc-14_nov_2001
        - With test: /java/idl/ws/rip/RIP_TEST_MASTER/tests/api/poa/poa/findpoa
      *******************************************************************************

            hputtaswsunw Hemanth Puttaswamy (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: