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

Sergey Bylokhov serb at openjdk.org
Wed Feb 26 05:22:53 UTC 2025


On Tue, 18 Feb 2025 08:33:55 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:
> 
>   new fixes

src/java.desktop/share/classes/com/sun/beans/introspect/PropertyInfo.java line 94:

> 92:                     this.write = info;
> 93:                     writeType = info.type;
> 94:                 } else if (isParentOfIncoming(this.write, info)) {

Is it possible to update the logic for the read methods above and remove the sorting based on the default property?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23443#discussion_r1970924330


More information about the client-libs-dev mailing list