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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.3.0
    • 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

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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: