You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Howard M. Lewis Ship (Closed) (JIRA)" <ji...@apache.org> on 2011/12/23 19:56:30 UTC

[jira] [Closed] (TAP5-1801) Component fields should not need to be private, merely non-public

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

Howard M. Lewis Ship closed TAP5-1801.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 5.4
    
> Component fields should not need to be private, merely non-public
> -----------------------------------------------------------------
>
>                 Key: TAP5-1801
>                 URL: https://issues.apache.org/jira/browse/TAP5-1801
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: plastic, tapestry-core
>    Affects Versions: 5.4
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>              Labels: bytecode
>             Fix For: 5.4
>
>
> Currently, Plastic assets, early, that all instance fields are private.  Instead, it should check fields as transformations are applied to them, and ensure that they are merely non-public. Access to the fields from other classes (including inner classes) must be routed through access methods.
> Inner classes will now need a limited set of transformations, to handle the cases where a protected or package private field is directly accessed, in which case, the appropriate accessor method will be used instead.
> It seems possible that two transformed classes that each access the other's non-public fields might cause an endless loop; if so, this should be identified and reported.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira