[MDEP-571] JDK9: Issue with list goal fails with java.lang.NoSuchMethodException Only find public inherited methods through reflection with getMethod instead of getDeclaredMethod.