RFR: 6983726: remove Proxy from MethodHandleProxies.asInterfaceInstance SAM conversion [v2]

Chen Liang liach at openjdk.org
Wed Mar 29 00:59:20 UTC 2023


On Wed, 29 Mar 2023 00:31:46 GMT, Johannes Kuhn <jkuhn at openjdk.org> wrote:

>> Do interfaces still implement these properly without definition if they extend interfaces that declare `@Override boolean equals();` etc.?
>
> Yes. You can use [`Comperator<T>`][1]  as test.
> 
> [1]: https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Comparator.html#equals(java.lang.Object)

Added a test and confirmed they work in the latest patch.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13197#discussion_r1151289342


More information about the core-libs-dev mailing list