mirror of https://github.com/apache/lucene.git
Fix Java 9 b158+ problem (no compatibility layer for non expanded paths anymore)
This commit is contained in:
parent
99e8ef2304
commit
6f3f6a2d66
|
@ -46,7 +46,7 @@ public class TestReadOnlyIndex extends LuceneTestCase {
|
|||
|
||||
@BeforeClass
|
||||
public static void buildIndex() throws Exception {
|
||||
indexPath = Files.createTempDirectory("readonlyindex");
|
||||
indexPath = Files.createTempDirectory("readonlyindex").toAbsolutePath();
|
||||
|
||||
// borrows from TestDemo, but not important to keep in sync with demo
|
||||
Analyzer analyzer = new MockAnalyzer(random());
|
||||
|
|
Loading…
Reference in New Issue