matthewfarwell/junit — comment on commit 917a88fad06ce108a596a8fdb4607b1a2fbb3f3e
File: src/test/java/org/junit/tests/running/core/MainRunner.java line 24
By stefanbirkner:

This security manager may cause some trouble. I learned it the hard way on my System Rules project :-) What you should use is something lke https://github.com/stefanbirkner/system-rules/blob/master/src/main/java/org/junit/contrib/java/lang/system/internal/NoExitSecurityManager.java
You can copy the code. It's mine.