[jboss-jira] [JBoss JIRA] (WFLY-10196) (TS) TimeoutUtil reads system property from static init without privileged block
David Lloyd (JIRA)
issues at jboss.org
Fri Apr 6 10:42:00 EDT 2018
David Lloyd created WFLY-10196:
----------------------------------
Summary: (TS) TimeoutUtil reads system property from static init without privileged block
Key: WFLY-10196
URL: https://issues.jboss.org/browse/WFLY-10196
Project: WildFly
Issue Type: Bug
Components: Test Suite
Reporter: David Lloyd
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