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

Rebind and RebindContext operations do not throw appropriate exceptions.

XMLWordPrintable

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

      Calling rebind or rebind_context on names already bound to other contexts or objects respectively, does not throw an exception. As per the spec. (ptc 99-12-03), these should throw a NotFound Exception with a why reason of
      "not_object" or "not_context" respectively. (Please see assertions 18 & 28 for the relevant secs. in the spec.)

      Test cases 0003 under RebindTest and RebindContextTest demonstrate this problem.

      To run these tests:

      1. Untar the ins-bugs.tar available from /java/idl/ws/rip/temp/ins-bugs.tar
      2. Go to the Binding/Rebind[Context]Test directory.
      3. Point the makefile to the appropriate builds by making changes in the
         "To be changed" section towards the top.
      4. Run the makefile by typing "make -s all" at the prompt. (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: