RFR: 8347826: Introspector shows wrong method list after 8071693 [v7]

Roman Marchenko rmarchenko at openjdk.org
Fri Feb 28 10:09:31 UTC 2025


On Thu, 27 Feb 2025 11:29:36 GMT, Roman Marchenko <rmarchenko at openjdk.org> wrote:

>> Fixed `com.sun.beans.introspect.MethodInfo#MethodOrder` to make `Introspector.addMethod()` working properly when filtering methods out.
>> 
>> Also, after PR discussion, added the approptiate test cases with corresponding fixes in MethodInfo.java and PropertyInfo.java.
>
> Roman Marchenko has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Symmetric fix

I added 2 more test scenarios and re-worked the solution a little.

Now the test successfully passes with and without sorting enabled.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/23443#issuecomment-2690240398


More information about the client-libs-dev mailing list