Unused method sun.reflect.misc.MethodUtil.getPublicMethods

Mandy Chung mandy.chung at oracle.com
Wed May 11 21:29:25 UTC 2022


They are unused and leftover since JDK 7. It's good to remove them.

Thanks
Mandy

On 4/30/22 7:48 AM, Andrey Turbanov wrote:
> Hello.
> I found a few methods in MethodUtil class which seem unused to me:
> getPublicMethods, getInterfaceMethods, getInternalPublicMethods ,addMethod.
>
> Are they somehow used by VM, or is it just leftovers from some refactorings?
> I wonder if we can drop them.
>
>
> Andrey Turbanov


More information about the core-libs-dev mailing list