Gavin Scott created OGNL-223:
--------------------------------

             Summary: DefaultMemberAccess.restore() does not 
setAccessible(false)
                 Key: OGNL-223
                 URL: https://issues.apache.org/jira/browse/OGNL-223
             Project: Commons OGNL
          Issue Type: Bug
    Affects Versions: 3.0
            Reporter: Gavin Scott


It looks like the intent of DefaultMemberAccess.restore() is to call 
setAccessible(false) on a member if it called setAccessible(true) on it in 
setup.  However, setup is returning Boolean.TRUE as its state which is being 
used as the argumetn to setAccessible() in restore().  So it is just calling 
setAccessible(true) a second time.

--
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

Reply via email to