You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org> on 2008/06/24 22:32:45 UTC

[jira] Assigned: (TAPESTRY-2478) Non-private fields in Tapestry component classes should fail early, instead get confusing javassist.bytecode.DuplicateMemberException

     [ https://issues.apache.org/jira/browse/TAPESTRY-2478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship reassigned TAPESTRY-2478:
----------------------------------------------

    Assignee: Howard M. Lewis Ship

> Non-private fields in Tapestry component classes should fail early, instead get confusing javassist.bytecode.DuplicateMemberException
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TAPESTRY-2478
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2478
>             Project: Tapestry
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.0.13
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>            Priority: Critical
>
> This feels like a regression, some step (the proper validation that fields are private) is being missed.
> Somehow, we are making it to finish() even though some fields are not private:
> Caused by: java.lang.RuntimeException: javassist.bytecode.DuplicateMemberException: duplicate method: <init> in com.formos.blog.pages.Login
> 	at org.apache.tapestry5.internal.services.InternalClassTransformationImpl.addConstructor(InternalClassTransformationImpl.java:1357)
> 	at org.apache.tapestry5.internal.services.InternalClassTransformationImpl.finish(InternalClassTransformationImpl.java:1300)
> 	at org.apache.tapestry5.internal.services.ComponentClassTransformerImpl.transformComponentClass(ComponentClassTransformerImpl.java:163)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org