Fix BootstrapForTesting blowup

This commit fixes an issue with BootstrapForTesting where the common
case was to invoke a method with a null parameter that does not accept
null.
This commit is contained in:
Jason Tedor 2017-04-01 17:49:40 -04:00
parent 8c554215e0
commit 1d648a3d46

View File

@ -121,7 +121,7 @@ public class BootstrapForTesting {
}
// jacoco coverage output file
final boolean testsCoverage =
Booleans.parseBoolean(System.getProperty("tests.coverage"));
Booleans.parseBoolean(System.getProperty("tests.coverage", "false"));
if (testsCoverage) {
Path coverageDir = PathUtils.get(System.getProperty("tests.coverage.dir"));
perms.add(new FilePermission(coverageDir.resolve("jacoco.exec").toString(), "read,write"));