RFR: 8265174: Update Class.getDeclaredMethods to discuss synthetic and bridge methods [v2]
Joel Borggrén-Franck
jfranck at openjdk.java.net
Wed Apr 14 07:29:04 UTC 2021
On Wed, 14 Apr 2021 02:56:11 GMT, Joe Darcy <darcy at openjdk.org> wrote:
>> The results from Class.getDeclaredMethods can include bridge and other synthetic methods, which can be unexpected by users (JDK-6815786, JDK-8142904) and appear to be inherited methods. The javadoc for Class.getDeclaredMethods should be updated to explicitly mention the possibility of synthetic methods appearing.
>
> Joe Darcy has updated the pull request incrementally with one additional commit since the last revision:
>
> Add links to discussion in java.lang.reflect package javadoc.
Marked as reviewed by jfranck (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk/pull/3477
More information about the core-libs-dev
mailing list