commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kjetil Ødegaard (Commented) (JIRA) <j...@apache.org>
Subject [jira] [Commented] (OGNL-44) OgnlRuntime.getPermission in 3.0.3 returns null
Date Fri, 09 Mar 2012 11:12:58 GMT

    [ https://issues.apache.org/jira/browse/OGNL-44?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13226012#comment-13226012
] 

Kjetil Ødegaard commented on OGNL-44:
-------------------------------------

This bug prevents us from upgrading to Struts 2.3.1.2, since that requires OGNL version newer
than 3.0.2.

That means it's a blocker for those of us who have Java 2 Security enabled.

This was especially hard to pin-point because the NullPointerException caused by passing null
to SecurityManager is later swallowed by OGNL.
                
> OgnlRuntime.getPermission in 3.0.3 returns null
> -----------------------------------------------
>
>                 Key: OGNL-44
>                 URL: https://issues.apache.org/jira/browse/OGNL-44
>             Project: Commons OGNL
>          Issue Type: Bug
>            Reporter: Kristof Vanbecelaere
>            Priority: Blocker
>
> OgnlRuntime.getPermission returns null once the cache has been setup. I think the assignment
to result should be outside of the if (permissions == null) block.

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

       

Mime
View raw message