[jboss-jira] [JBoss JIRA] (WFLY-6190) SingletonReentrantTestCase fails with security manager enabled
Hynek Švábek (JIRA)
issues at jboss.org
Fri Feb 12 04:52:00 EST 2016
Hynek Švábek created WFLY-6190:
----------------------------------
Summary: SingletonReentrantTestCase fails with security manager enabled
Key: WFLY-6190
URL: https://issues.jboss.org/browse/WFLY-6190
Project: WildFly
Issue Type: Bug
Components: Test Suite
Reporter: Hynek Švábek
*org.jboss.as.test.integration.ejb.singleton.reentrant.SingletonReentrantTestCase#testReadCall*
*org.jboss.as.test.integration.ejb.singleton.reentrant.SingletonReentrantTestCase#testWriteCall*
{{./integration-tests.sh -fae -Dmaven.test.failure.ignore=true -DfailIfNoTests=false -Dsecurity.manager -Dts.basic -Dts.noSmoke -Dtest=org.jboss.as.test.integration.ejb.singleton.reentrant.SingletonReentrantTestCase}}
fails with
{code}
java.security.AccessControlException: WFSM000001: Permission check failed (permission "("java.lang.RuntimePermission" "modifyThread")" in code source "(vfs:/content/reentrant-test.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 java.util.concurrent.ThreadPoolExecutor.checkShutdownAccess(ThreadPoolExecutor.java:735)
at java.util.concurrent.ThreadPoolExecutor.shutdown(ThreadPoolExecutor.java:1387)
at java.util.concurrent.Executors$DelegatedExecutorService.shutdown(Executors.java:669)
at org.jboss.as.test.integration.ejb.singleton.reentrant.SingletonReentrantTestCase.testWriteCall(SingletonReentrantTestCase.java:90)
{code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list