You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/02/28 18:40:00 UTC

[jira] [Commented] (TAP5-2664) PropertyShadowBuilder fails when interface inherits same method more than once

    [ https://issues.apache.org/jira/browse/TAP5-2664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17292467#comment-17292467 ] 

ASF subversion and git services commented on TAP5-2664:
-------------------------------------------------------

Commit f9f769d8f84c4ac6d730af95d7300edb8d73f832 in tapestry-5's branch refs/heads/master from Thiago H. de Paula Figueiredo
[ https://gitbox.apache.org/repos/asf?p=tapestry-5.git;h=f9f769d ]

TAP5-2664: PropertyShadowBuilder fails when interface inherits same
method more than once

Thanks Hendrik Noot for noticing the problem and providing the patch
used to fix it!

> PropertyShadowBuilder fails when interface inherits same method more than once
> ------------------------------------------------------------------------------
>
>                 Key: TAP5-2664
>                 URL: https://issues.apache.org/jira/browse/TAP5-2664
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-ioc
>    Affects Versions: 5.4, 5.4.1, 5.4.2, 5.4.3, 5.4.5, 5.6.0, 5.6.1, 5.6.2, 5.7.0
>            Reporter: Thiago Henrique De Paula Figueiredo
>            Priority: Major
>
> The exception is very similar the same one as in TAP5-2663: 
> java.lang.ClassFormatError: Duplicate method name "close" with signature "()V" in class file $FooService_166bf1654d15java.lang.ClassFormatError: Duplicate method name "close" with signature "()V" in class file $FooService_166bf1654d15 at java.lang.ClassLoader.defineClass(ClassLoader.java:756) at java.lang.ClassLoader.defineClass(ClassLoader.java:635) at org.apache.tapestry5.internal.plastic.PlasticClassLoader.defineClassWithBytecode(PlasticClassLoader.java:63) at org.apache.tapestry5.internal.plastic.PlasticClassPool.realize(PlasticClassPool.java:160) at org.apache.tapestry5.internal.plastic.PlasticClassPool.realizeTransformedClass(PlasticClassPool.java:139) at org.apache.tapestry5.internal.plastic.PlasticClassImpl.createInstantiator(PlasticClassImpl.java:650) at org.apache.tapestry5.plastic.PlasticManager.createProxy(PlasticManager.java:289) at org.apache.tapestry5.plastic.PlasticManager.createProxy(PlasticManager.java:262) at org.apache.tapestry5.plastic.PlasticManager.createProxy(PlasticManager.java:229) at org.apache.tapestry5.beanmodel.services.PlasticProxyFactoryImpl.createProxy(PlasticProxyFactoryImpl.java:85) at org.apache.tapestry5.ioc.internal.services.PropertyShadowBuilderImpl.build(PropertyShadowBuilderImpl.java:62) at ioc.specs.PropertyShadowBuilderImplSpec.verify exception when accessing the value when null(PropertyShadowBuilderImplSpec.groovy:88)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)