mirror of https://github.com/apache/lucene.git
Make childLog final to fix compilation on Java 20. This closes #12041
This commit is contained in:
parent
3bc8cd5c20
commit
92f08aff9f
|
@ -612,7 +612,7 @@ public class TestStressNRTReplication extends LuceneTestCase {
|
||||||
cmd.add("org.junit.runner.JUnitCore");
|
cmd.add("org.junit.runner.JUnitCore");
|
||||||
cmd.add(TestSimpleServer.class.getName());
|
cmd.add(TestSimpleServer.class.getName());
|
||||||
|
|
||||||
Writer childLog;
|
final Writer childLog;
|
||||||
|
|
||||||
if (SEPARATE_CHILD_OUTPUT) {
|
if (SEPARATE_CHILD_OUTPUT) {
|
||||||
Path childOut = childTempDir.resolve(id + ".log");
|
Path childOut = childTempDir.resolve(id + ".log");
|
||||||
|
|
Loading…
Reference in New Issue