Swap out XTestSecurityManager until we figured out why it crashes the JVM

This commit is contained in:
Simon Willnauer 2015-09-10 09:57:02 +02:00
parent c1dd9b8a98
commit 7ab0e2c532
1 changed files with 1 additions and 1 deletions

View File

@ -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);