RFR: 8071693: Introspector ignores default interface methods [v4]

Alexey Ivanov aivanov at openjdk.org
Fri Apr 21 19:00:50 UTC 2023


On Thu, 20 Apr 2023 14:22:47 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 two additional commits since the last revision:
> 
>  - Verify static method is not mistakenly identified as property getter.
>  - Use Modifier.isAbstract() convenience method instead of bit masking test.

test/jdk/java/beans/Introspector/DefaultMethodBeanPropertyTest.java line 1:

> 1: /*

Is it expected that the test file doesn't compile with simple `javac DefaultMethodBeanPropertyTest.java`? It complains about `BeanUtils` not found. When run with jtreg, the test compiles successfully.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13544#discussion_r1174080179



More information about the client-libs-dev mailing list