--- old/src/share/classes/java/lang/reflect/Method.java 2012-12-19 14:14:59.531503554 -0500 +++ new/src/share/classes/java/lang/reflect/Method.java 2012-12-19 14:14:59.310501626 -0500 @@ -252,6 +252,12 @@ /** * {@inheritDoc} + */ + public int getNumParameters() { return parameterTypes.length; } + + + /** + * {@inheritDoc} * @throws GenericSignatureFormatError {@inheritDoc} * @throws TypeNotPresentException {@inheritDoc} * @throws MalformedParameterizedTypeException {@inheritDoc}