commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gavin Scott (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OGNL-223) DefaultMemberAccess.restore() does not setAccessible(false)
Date Tue, 18 Sep 2012 19:00:10 GMT
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

Mime
View raw message