RFR: 8071693: Introspector ignores default interface methods [v2]
Andrey Turbanov
aturbanov at openjdk.org
Thu Apr 20 08:49:56 UTC 2023
On Wed, 19 Apr 2023 22:05:33 GMT, Archie L. Cobbs <duke at openjdk.org> wrote:
>> The `Introspector` class was never updated to include `default` methods inherited from interfaces.
>>
>> This patch attempts to fix that omission.
>
> Archie L. Cobbs has updated the pull request incrementally with one additional commit since the last revision:
>
> Use Set.of() to initialize IGNORABLE_INTERFACES set.
src/java.desktop/share/classes/com/sun/beans/introspect/MethodInfo.java line 46:
> 44: final class MethodInfo {
> 45:
> 46: static final Set<Class<?>> IGNORABLE_INTERFACES = Set.of(
Hm. Why only this specific interfaces?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/13544#discussion_r1172278787
More information about the client-libs-dev
mailing list