On Tue, 28 Nov 2023 14:15:48 GMT, Alan Bateman <al...@openjdk.org> wrote:
>> Jim Laskey has updated the pull request with a new target base due to a >> merge or a rebase. The pull request now contains 40 commits: >> >> - Merge remote-tracking branch 'upstream/master' into 8315458 >> - Requested changes >> - Remove Test >> - Move findMainMethod to non-public access >> - Handle javadoc on top level elements properly >> - Update Class.java >> - Update test >> - Update findMainMethod as requested >> - Add nested class test >> - Move Implicitly Declared Classes to single directory >> - ... and 30 more: https://git.openjdk.org/jdk/compare/2fae07f5...daacc0ba > > src/java.base/share/classes/java/lang/Class.java line 2896: > >> 2894: * @param parameterTypes the parameter array >> 2895: * @return the list of {@code Method} objects for the public >> methods of >> 2896: * this class matching the specified name and parameters > > The return description seems to be copied from getDeclaredPublicMethods, I > think you can drop it as the method description is clear. * @return the {@code Method} object for the method found from this class matching * the specified name and parameters, or null if not found ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/16461#discussion_r1407856392