RFR(XXS): 8156226: DiagnosticCommandImpl::invoke throws NoSuchMethodException even if the method actually exists but parameters are wrong

Kirill Zhaldybin kirill.zhaldybin at oracle.com
Fri May 6 17:16:34 UTC 2016


Dear all,

Could you please review this small fix for 8156226?

A case when a method exists but parameters' signature is wrong now 
causes new ReflectionException(new IllegalArgumentException()) thrown 
instead of new ReflectionException(new NoSuchMethodException()).

WebRev: http://cr.openjdk.java.net/~kzhaldyb/webrevs/JDK-8156226/webrev.00/

CR: https://bugs.openjdk.java.net/browse/JDK-8156226

Thank you.

Regards, Kirill


More information about the serviceability-dev mailing list