You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by "Craig Russell (JIRA)" <ji...@apache.org> on 2008/07/11 19:20:31 UTC

[jira] Issue Comment Edited: (JDO-555) All calls to Class.getMethod and Method.invoke (among others) need to be invoked inside a doPrivileged block.

    [ https://issues.apache.org/jira/browse/JDO-555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12612932#action_12612932 ] 

clr edited comment on JDO-555 at 7/11/08 10:18 AM:
-------------------------------------------------------------

Please review this patch. It allows you to specify -Djdo.tck.security, which adds 
"-Djava.security.manager -Djava.security.policy=${basedir}/src/conf/security.policy" 
to the java command line when running maven runtck.jdori. 

The security policy itself isn't complete yet. The RI doesn't run with this setup because of something wrong with c3p0. Some advice would be helpful.

      was (Author: clr):
    Please review this patch. It allows you to specify -Djdo.tck.security when running maven runtck.jdori, which adds "" to the java command line. 

The security policy itself isn't complete yet. The RI doesn't run with this setup because of something wrong with c3p0. Some advice would be helpful.
  
> 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, 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.