[ 
https://issues.apache.org/jira/browse/JDO-555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Craig Russell updated JDO-555:
------------------------------

      Component/s: api2-legacy
                   api2
    Fix Version/s:     (was: JDO 2 maintenance release 1)
                   JDO 2 maintenance release 2

By inspection, all methods in JDOHelper that need special permissions are now 
wrapped in doPrivilege blocks.

There are no test cases that verify this. The activity needed now is to add 
unit tests to verify that all such methods are wrapped in doPrivilege. The 
environment needs to be set up with a security manager and an appropriate 
permission file. 

> All calls to Class.getMethod and Method.invoke (among others) need to be 
> invoked inside a doPrivileged block.
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: JDO-555
>                 URL: https://issues.apache.org/jira/browse/JDO-555
>             Project: JDO
>          Issue Type: Bug
>          Components: api2, api2-legacy
>    Affects Versions: JDO 2 maintenance release 1
>            Reporter: Matthew T. Adams
>            Assignee: Craig Russell
>             Fix For: JDO 2 maintenance release 2
>
>         Attachments: jdo-555.patch, jdo-555.patch
>
>
> Discovered in review of patch to JDO-545.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to