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

2023-03-28 Thread Chen Liang
On Tue, 28 Mar 2023 10:57:28 GMT, RĂ©mi Forax wrote: >> Chen Liang has updated the pull request incrementally with one additional >> commit since the last revision: >> >> rethrow error > > src/java.base/share/classes/java/lang/invoke/MethodHandleProxies.java line > 206: > >> 204: try

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

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] abstrac