Swap out XTestSecurityManager until we figured out why it crashes the JVM
This commit is contained in:
parent
c1dd9b8a98
commit
7ab0e2c532
|
@ -114,7 +114,7 @@ public class BootstrapForTesting {
|
|||
perms.add(new FilePermission(coverageDir.resolve("jacoco-it.exec").toString(), "read,write"));
|
||||
}
|
||||
Policy.setPolicy(new ESPolicy(perms));
|
||||
System.setSecurityManager(new XTestSecurityManager());
|
||||
System.setSecurityManager(new TestSecurityManager());
|
||||
Security.selfTest();
|
||||
} catch (Exception e) {
|
||||
throw new RuntimeException("unable to install test security manager", e);
|
||||
|
|
Loading…
Reference in New Issue