src/share/classes/sun/rmi/rmic/iiop/CompoundType.java

changeset 473
5845df371e25
parent 158
91006f157c46
child 553
5ca1b4c282b8
     1.1 --- a/src/share/classes/sun/rmi/rmic/iiop/CompoundType.java	Thu May 30 10:57:52 2013 -0700
     1.2 +++ b/src/share/classes/sun/rmi/rmic/iiop/CompoundType.java	Mon Jun 10 17:15:42 2013 +0100
     1.3 @@ -32,6 +32,7 @@
     1.4  
     1.5  package sun.rmi.rmic.iiop;
     1.6  
     1.7 +import java.util.Arrays;
     1.8  import java.util.Vector;
     1.9  import sun.tools.java.Identifier;
    1.10  import sun.tools.java.ClassNotFound;
    1.11 @@ -1851,6 +1852,10 @@
    1.12              return false;
    1.13          }
    1.14  
    1.15 +        public int hashCode() {
    1.16 +            return getName().hashCode() ^ Arrays.hashCode(arguments);
    1.17 +        }
    1.18 +
    1.19          /**
    1.20           * Return a new Method object that is a legal combination of
    1.21           * this method object and another one.

mercurial