[jboss-jira] [JBoss JIRA] (WFCORE-3756) (TS) TimeoutUtil reads system property from static init without privileged block
Chao Wang (JIRA)
issues at jboss.org
Thu Apr 19 02:28:00 EDT 2018
[ https://issues.jboss.org/browse/WFCORE-3756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chao Wang moved WFLY-10196 to WFCORE-3756:
------------------------------------------
Project: WildFly Core (was: WildFly)
Key: WFCORE-3756 (was: WFLY-10196)
Component/s: Test Suite
(was: Test Suite)
> (TS) TimeoutUtil reads system property from static init without privileged block
> --------------------------------------------------------------------------------
>
> Key: WFCORE-3756
> URL: https://issues.jboss.org/browse/WFCORE-3756
> Project: WildFly Core
> Issue Type: Bug
> Components: Test Suite
> Reporter: David Lloyd
> Assignee: Chao Wang
> Labels: security-manager
>
> Stack trace:
> {noformat}
> java.security.AccessControlException: WFSM000001: Permission check failed (permission "("java.util.PropertyPermission" "ts.timeout.factor" "read")" in code source "(vfs:/content/RemoteInvocationTest.jar <no signer certificates>)" of "ModuleClassLoader for Module "deployment.RemoteInvocationTest.jar" from Service Module Loader")
> at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:295)
> at org.wildfly.security.manager.WildFlySecurityManager.checkPropertyAccess(WildFlySecurityManager.java:479)
> at java.lang.System.getProperty(System.java:717)
> at java.lang.Integer.getInteger(Integer.java:1101)
> at java.lang.Integer.getInteger(Integer.java:1057)
> at org.jboss.as.test.shared.TimeoutUtil.<clinit>(TimeoutUtil.java:39)
> ... 135 more
> {noformat}
> The call to {{getInteger}} needs to be privileged.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list