[jboss-jira] [JBoss JIRA] Commented: (JBAS-7606) Investigate org.jboss.test.cmp2.commerce failures

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Tue Jan 12 18:34:30 EST 2010


    [ https://jira.jboss.org/jira/browse/JBAS-7606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12503752#action_12503752 ] 

Brian Stansberry commented on JBAS-7606:
----------------------------------------

These failures are because the version of org.jboss.mx:jboss-mbeans in AS trunk does not include Anil's JBAS-6945 fix.

> Investigate org.jboss.test.cmp2.commerce failures
> -------------------------------------------------
>
>                 Key: JBAS-7606
>                 URL: https://jira.jboss.org/jira/browse/JBAS-7606
>             Project: JBoss Application Server
>          Issue Type: Sub-task
>      Security Level: Public(Everyone can see) 
>          Components: JMX, Test Suite
>            Reporter: Brian Stansberry
>            Assignee: Brian Stansberry
>             Fix For: JBossAS-6.0.0.M2
>
>
> With the security manager enabled, all the tests in org.jboss.test.cmp2.commerce where the EJB makes mbean invocations are failing due to a missing getClassLoader RuntimePermission when org.jboss.mx.server.InvocationContext.loadClass() tries to get the TCCL. These passed in M1 and earlier because InvocationContext would invoke getContextClassLoader() in a PrivilegedAction; the version of InvocationContext in trunk makes a direct invocation.
> I need to investigate the history of the InvocationContext class to see why this change was made; possibly the intent was to require the caller to have the appropriate permission, in which case the security policy for the test needs updating.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list