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

2023-03-28 Thread Chen Liang
> As John Rose has pointed out in this issue, the current j.l.r.Proxy based > implementation of MethodHandleProxies.asInterface has a few issues: > 1. Exposes too much information via Proxy supertype (and WrapperInstance > interface) > 2. Does not allow future expansion to support SAM[^1]

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

2023-03-28 Thread Chen Liang
On Wed, 29 Mar 2023 00:31:46 GMT, Johannes Kuhn wrote: >> Do interfaces still implement these properly without definition if they >> extend interfaces that declare `@Override boolean equals();` etc.? > > Yes. You can use [`Comperator`][1] as test. > > [1]: >