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

Rebind does not throw appropriate exceptions.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.4.0
    • other-libs
    • None
    • beta2
    • sparc
    • solaris_1
    • Verified

      Calling rebind on names already bound to other contexts , 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" (Please see assertions 18 & 28 for the relevant secs. in the spec.)

      Test cases 0003 under RebindTest demonstrates 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/RebindTest 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)
      ******************************************************************************

      ###@###.### 2001-08-13
      build: j2sdk-1_4_0-beta_refresh-bin-b75-solsparc-09_aug_2001
      Result: All the tests under /tests/api/ins/Binding/RebindingTest pass successfully

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

            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: