corba/src/share/classes/com/sun/corba/se/impl/javax/rmi/CORBA/StubDelegateImpl.java
--- a/corba/src/share/classes/com/sun/corba/se/impl/javax/rmi/CORBA/StubDelegateImpl.java Wed Jul 05 18:58:01 2017 +0200
+++ b/corba/src/share/classes/com/sun/corba/se/impl/javax/rmi/CORBA/StubDelegateImpl.java Mon Jun 10 17:15:42 2013 +0100
@@ -147,6 +147,14 @@
return ior.equals( other.ior ) ;
}
+ public int hashCode() {
+ if (ior == null) {
+ return 0;
+ } else {
+ return ior.hashCode();
+ }
+ }
+
/**
* Returns a string representation of this stub. Returns the same string
* for all stubs that represent the same remote object.