Skip to content

Commit

Permalink
Merge pull request #2116 from PrarthonaPaul/ELY-2726
Browse files Browse the repository at this point in the history
[ELY-2726] Update AlternateSecurityManagerTest to be able to run with SE 21
  • Loading branch information
darranl committed Mar 15, 2024
2 parents 2286212 + 184342c commit 6fe093c
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -32,6 +32,7 @@
import java.util.Stack;

import org.junit.After;
import org.junit.Assume;
import org.junit.Before;
import org.junit.Test;
import org.wildfly.security.ParametricPrivilegedAction;
Expand Down Expand Up @@ -84,6 +85,8 @@ public class AlternateSecurityManagerTest {

@Before
public void before() {
Assume.assumeTrue("Skipping AlternateSecurityManagerTest suite, tests are not being run on JDK 17 or lower.",
Integer.parseInt(System.getProperty("java.specification.version")) <= 17);
AccessControlContext current = AccessController.getContext();
ProtectionDomain[] domains = getProtectionDomainStack(current);

Expand Down

0 comments on commit 6fe093c

Please sign in to comment.