--- old/src/java.base/share/classes/sun/reflect/ReflectionFactory.java 2014-11-30 18:51:41.635555377 +0100 +++ new/src/java.base/share/classes/sun/reflect/ReflectionFactory.java 2014-11-30 18:51:41.534557159 +0100 @@ -322,6 +322,16 @@ return langReflectAccess().getExecutableTypeAnnotationBytes(ex); } + /** Compares parameter types of two Methods */ + public boolean methodParameterTypesEquals(Method method1, Method method2) { + return langReflectAccess().methodParameterTypesEquals(method1, method2); + } + + /** Returns hashCode for parameter types of a Method */ + public int methodParameterTypesHashCode(Method method) { + return langReflectAccess().methodParameterTypesHashCode(method); + } + //-------------------------------------------------------------------------- // // Routines used by serialization