Merge pull request #13407 from rmuir/ide_security_manager

Enable security manager by default in tests (e.g. IDEs)
This commit is contained in:
Robert Muir 2015-09-09 09:12:35 -04:00
commit f5270849fa

View File

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