[jboss-jira] [JBoss JIRA] (WFLY-6190) SingletonReentrantTestCase fails with security manager enabled
Eduardo Silva (JIRA)
issues at jboss.org
Sun Feb 28 12:44:00 EST 2016
[ https://issues.jboss.org/browse/WFLY-6190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13169255#comment-13169255 ]
Eduardo Silva commented on WFLY-6190:
-------------------------------------
Tested successfully executed on version 10.0.0.Alpha1:
./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
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] WildFly Test Suite: Aggregator ..................... SUCCESS [ 13.219 s]
[INFO] WildFly Test Suite: Integration .................... SUCCESS [ 0.655 s]
[INFO] WildFly Test Suite: Integration - Basic ............ SUCCESS [ 1.983 s]
[INFO] WildFly Test Suite: Integration - Java 8 ........... SUCCESS [ 0.136 s]
[INFO] ------------------------------------------------------------------------
> 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