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

Andrey Turbanov aturbanov at openjdk.org
Fri Apr 21 10:48:41 UTC 2023


On Thu, 20 Apr 2023 19:28:32 GMT, Phil Race <prr at openjdk.org> wrote:

>> This a list of commonly implemented interfaces that don't need to be inspected because they are "known empty". This list is inspired by [Spring's ClassUtils](https://github.com/spring-projects/spring-framework/blob/ea83d66fb5ac7e8358015f6ad938607a96ae1b41/spring-core/src/main/java/org/springframework/util/ClassUtils.java#L820-L831). Happy to add any others that deserve to be in there.
>
> given that serializable is commonly implemented, this may be a worthwhile optimisation.

I think it should have some explanation comment, about why this interfaces are ignored and how they were chosen.

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

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



More information about the client-libs-dev mailing list