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

Calling next_one() on a destroyed BindingIterator does not throw exception

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • rmi-iiop_fcs
    • other-libs
    • None
    • merlin
    • sparc
    • solaris_1
    • Verified

      Calling the next_one() operation on a BindingIterator is required to throw an OBJECT_NOT_EXIST exception when called on a destroyed Binding Iterator as per the INS spec. (ptc 99-12-03) sec. 3.4 (Assertion 53 in the list of assertions)

      However, the call exits without throwing any exception for our ORB. Test case 0009 under BindingIteratorTests demonstrates this.

      To run this test,
      1. untar the ins-bugs.tar file available from /java/idl/ws/rip/temp.
      2. go to the Binding/BindingIterator
      3. Point the Makefile to the appropriate builds by making changes in the
         "To be Changed" section near the top.
      4. Run the makefile by typing "make -s all" (For verbose output skip the -s)

            hputtaswsunw Hemanth Puttaswamy (Inactive)
            nkesavansunw Nandkumar Kesavan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: