You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gavin Scott (JIRA)" <ji...@apache.org> on 2012/09/18 21:00:10 UTC

[jira] [Created] (OGNL-223) DefaultMemberAccess.restore() does not setAccessible(false)

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