mirror of https://github.com/apache/lucene.git
Don't NPE on missing assertions.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1346382 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
36563ae507
commit
3161334d2a
|
@ -156,7 +156,9 @@ public final class RunListenerPrintReproduceInfo extends RunListener {
|
|||
if (!TEST_LINE_DOCS_FILE.equals(DEFAULT_LINE_DOCS_FILE)) addVmOpt(b, "tests.linedocsfile", TEST_LINE_DOCS_FILE);
|
||||
if (classEnvRule != null) {
|
||||
addVmOpt(b, "tests.locale", classEnvRule.locale);
|
||||
addVmOpt(b, "tests.timezone", classEnvRule.timeZone.getID());
|
||||
if (classEnvRule.timeZone != null) {
|
||||
addVmOpt(b, "tests.timezone", classEnvRule.timeZone.getID());
|
||||
}
|
||||
}
|
||||
// Randomize this: LUCENE-4094
|
||||
addVmOpt(b, "args", "-Dfile.encoding=" + System.getProperty("file.encoding"));
|
||||
|
|
Loading…
Reference in New Issue