Make childLog final to fix compilation on Java 20. This closes #12041

This commit is contained in:
Uwe Schindler 2022-12-25 14:55:33 +01:00
parent 3bc8cd5c20
commit 92f08aff9f
1 changed files with 1 additions and 1 deletions

View File

@ -612,7 +612,7 @@ public class TestStressNRTReplication extends LuceneTestCase {
cmd.add("org.junit.runner.JUnitCore");
cmd.add(TestSimpleServer.class.getName());
Writer childLog;
final Writer childLog;
if (SEPARATE_CHILD_OUTPUT) {
Path childOut = childTempDir.resolve(id + ".log");