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.
@@ -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"));
