[infinispan-issues] [JBoss JIRA] (ISPN-4238) Security manager tests aren't able to to set security policy on Windows

RH Bugzilla Integration (JIRA) issues at jboss.org
Wed Dec 3 09:49:39 EST 2014


    [ https://issues.jboss.org/browse/ISPN-4238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13024789#comment-13024789 ] 

RH Bugzilla Integration commented on ISPN-4238:
-----------------------------------------------

Tristan Tarrant <ttarrant at redhat.com> changed the Status of [bug 1091381|https://bugzilla.redhat.com/show_bug.cgi?id=1091381] from NEW to ASSIGNED

> Security manager tests aren't able to to set security policy on Windows
> -----------------------------------------------------------------------
>
>                 Key: ISPN-4238
>                 URL: https://issues.jboss.org/browse/ISPN-4238
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Test Suite - Core
>            Reporter: Vojtech Juranek
>            Assignee: Tristan Tarrant
>              Labels: testsuite_stability
>
> Security manager tests fail as they aren't able to to set security policy on Windows. Tests fail with
> {noformat}
> java.security.AccessControlException: access denied ("java.security.SecurityPermission" "setPolicy")
> 	at java.security.AccessControlContext.checkPermission(AccessControlContext.java:372)
> 	at java.security.AccessController.checkPermission(AccessController.java:559)
> 	at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
> 	at java.security.Policy.setPolicy(Policy.java:279)
> 	at org.infinispan.security.SecurityManagerCacheAuthorizationTest.testAllCombinations(SecurityManagerCacheAuthorizationTest.java:18)
> {noformat}
> Example of test failure in Jenkins (W2k8 and Oracle JDK 7) is [here|https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/edg-60-ispn-testsuite-windows/252/USE_JDK=JDK7,jdk=java17_default,label=Win2k8r2_x86_64/testReport/org.infinispan.security/SecurityManagerCacheAuthorizationTest/testAllCombinations/].
> Same test pass fine on linux. I didn't find any difference in JDK policy setup on linux and windows and in general, all JDK setup should be same on both platforms. 



--
This message was sent by Atlassian JIRA
(v6.3.8#6338)


More information about the infinispan-issues mailing list