Re: Proxying default methods does not work with 5.5.0-beta-2

"Thiago H. de Paula Figueiredo" <[email protected]> Tue, 7 May 2019 16:54:44 -0300
Newsgroups gmane.comp.java.tapestry.user
Message-ID <CAE_88GZMMh73DfEdLTeSuwXb3kwyPXNf-6OqkQuG34BgivH8=g@mail.gmail.com>
On Mon, May 6, 2019 at 2:35 PM Oliver Kaiser <[email protected]>
wrote:

> Hi everyone,
>

Hello!


> the log output of PlasticProxyFactory shows that the method is skipped
> in the generated class
>
> seems to be related to this commit
>
> https://github.com/apache/tapestry-5/commit/709d282bfc626ce55cde07cbf909c0b86c2b4bcb#diff-89a017b694cffee07e15608bc316d0d7
>
> now "proxyInterface(Class, PlasticMethod)" only
> calls "introduceInterface(Class, PasticMethod)" (which skips the method
> as "isDefaultMethod(m)" returns true); earlier versions had an
> additional for-loop which handled this case (at least from stepping
> though in a debugger it looks that way)
>
> that's a regression, right?
>

Yes, it is. Thanks for spotting it!

--
Thiago