Enable security manager by default in tests (e.g. IDEs)
Otherwise people will be confused when they use maven.
This commit is contained in:
parent
164cf2775f
commit
29698f6945
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue