[jboss-jira] [JBoss JIRA] (WFLY-10196) (TS) TimeoutUtil reads system property from static init without privileged block
Chao Wang (JIRA)
issues at jboss.org
Thu Apr 19 02:17:00 EDT 2018
[ https://issues.jboss.org/browse/WFLY-10196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chao Wang reassigned WFLY-10196:
--------------------------------
Assignee: Chao Wang
> (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
> 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