javax.rmi.CORBA.Stub does not test equality correctly

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 1.4.0
    • Affects Version/s: 1.3.0
    • Component/s: other-libs
    • beta2
    • x86
    • windows_nt
    • Not verified



      Name: skT45625 Date: 03/21/2000


      java version "1.3.0rc1"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0rc1-T)
      Java HotSpot(TM) Client VM (build 1.3.0rc1-S, mixed mode)

      javax.rmi.CORBA.Stub does not test equality correctly.

      In examining the source for javax.rmi.CORBA.Stub's equals() method for 1.3RC1,
      it simply compares hashCodes for the IORs. This is NOT sufficient to completely
      distinguish IORs (identical hashcodes are not indicative of object equality).
      Examination of javax.rmi.CORBA.Stub for 1.2.2 indicates that the equals()
      method there performs a more complete test for equality.
      (Review ID: 102556)
      ======================================================================
      ******************************************************************************

      ###@###.### 2001-10-16

      Fix verified OK
      - with build:j2sdk-1_4_0-beta3-bin-b83-solsparc-10_oct_2001
      - by executing the test: tests/api/javax/rmi/CORBA/Stub

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

            Assignee:
            Ram Jeyaraman (Inactive)
            Reporter:
            Suresh Kondamareddy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: