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
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]