src/share/classes/sun/rmi/rmic/iiop/CompoundType.java
Print this page
*** 30,39 ****
--- 30,40 ----
*
*/
package sun.rmi.rmic.iiop;
+ import java.util.Arrays;
import java.util.Vector;
import sun.tools.java.Identifier;
import sun.tools.java.ClassNotFound;
import sun.tools.java.ClassDefinition;
import sun.tools.java.ClassDeclaration;
*** 1849,1858 ****
--- 1850,1863 ----
return true;
}
return false;
}
+ public int hashCode() {
+ return getName().hashCode() ^ Arrays.hashCode(arguments);
+ }
+
/**
* Return a new Method object that is a legal combination of
* this method object and another one.
*
* This requires determining the exceptions declared by the