[jboss-jira] [JBoss JIRA] (WFLY-6473) BeanFactoryTestCase fails with security manager

Hynek Švábek (JIRA) issues at jboss.org
Wed Apr 20 04:31:00 EDT 2016


     [ https://issues.jboss.org/browse/WFLY-6473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hynek Švábek reassigned WFLY-6473:
----------------------------------

    Assignee: Hynek Švábek  (was: Jan Tymel)


> BeanFactoryTestCase fails with security manager
> -----------------------------------------------
>
>                 Key: WFLY-6473
>                 URL: https://issues.jboss.org/browse/WFLY-6473
>             Project: WildFly
>          Issue Type: Bug
>          Components: Test Suite
>            Reporter: Jan Tymel
>            Assignee: Hynek Švábek
>
> *org.jboss.as.test.integration.pojo.test.BeanFactoryTestCase*
> {{./integration-tests.sh -DtestLogToFile=false -Dts.noSmoke -Dts.basic -Dtest=org.jboss.as.test.integration.pojo.test.BeanFactoryTestCase -Dsecurity.manager}}
> Fails with: 
> {code}
> Caused by: java.security.AccessControlException: WFSM000001: Permission check failed (permission "("java.lang.RuntimePermission" "getClassLoader")" in code source "(vfs:/content/bean-factory.jar <no signer certificates>)" of "null")
> 	at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:273)
> 	at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:175)
> 	at org.jboss.modules.Module.getClassLoader(Module.java:421)
> 	at org.jboss.as.pojo.descriptor.BaseBeanFactory.create(BaseBeanFactory.java:44)
> 	... 19 more
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the jboss-jira mailing list