[arquillian-issues] [JBoss JIRA] (ARQGRA-337) Provide a warning when someone tries to initialize page fragment which is not private

Lukáš Fryč (JIRA) jira-events at lists.jboss.org
Tue Sep 3 06:11:03 EDT 2013


     [ https://issues.jboss.org/browse/ARQGRA-337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukáš Fryč updated ARQGRA-337:
------------------------------

    Description: 
It is not allowed to access Graphene-injected page abstractions directly through field references because then the object's calls can't be intercepted:

{code:java}
// not allowed
class Page {
   Tree tree;
}
{code}

The accessors should be used instead:


We need to disallow that - either provide a warning or fail.

  was:
It is not allowed to access Graphene-injected page abstractions directly through field references.

The accessors should be used instead.

We need to disallow that - either provide a warning or fail.


    
> Provide a warning when someone tries to initialize page fragment which is not private
> -------------------------------------------------------------------------------------
>
>                 Key: ARQGRA-337
>                 URL: https://issues.jboss.org/browse/ARQGRA-337
>             Project: Arquillian Graphene
>          Issue Type: Enhancement
>            Reporter: Lukáš Fryč
>
> It is not allowed to access Graphene-injected page abstractions directly through field references because then the object's calls can't be intercepted:
> {code:java}
> // not allowed
> class Page {
>    Tree tree;
> }
> {code}
> The accessors should be used instead:
> We need to disallow that - either provide a warning or fail.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the arquillian-issues mailing list