Enable security manager by default in tests (e.g. IDEs)

Otherwise people will be confused when they use maven.
This commit is contained in:
Robert Muir 2015-09-08 15:55:33 -04:00
parent 164cf2775f
commit 29698f6945
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ public class BootstrapForTesting {
}
// install security manager if requested
if (systemPropertyAsBoolean("tests.security.manager", false)) {
if (systemPropertyAsBoolean("tests.security.manager", true)) {
try {
Security.setCodebaseProperties();
// initialize paths the same exact way as bootstrap.