You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by us...@apache.org on 2017/02/25 19:59:37 UTC

lucene-solr:master: Fix Java 9 b158+ problem (no compatibility layer for non expanded paths anymore)

Repository: lucene-solr
Updated Branches:
  refs/heads/master 99e8ef230 -> 6f3f6a2d6


Fix Java 9 b158+ problem (no compatibility layer for non expanded paths anymore)


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/6f3f6a2d
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/6f3f6a2d
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/6f3f6a2d

Branch: refs/heads/master
Commit: 6f3f6a2d66d107e94d723a1f931da0b7bdb06928
Parents: 99e8ef2
Author: Uwe Schindler <us...@apache.org>
Authored: Sat Feb 25 20:59:26 2017 +0100
Committer: Uwe Schindler <us...@apache.org>
Committed: Sat Feb 25 20:59:26 2017 +0100

----------------------------------------------------------------------
 .../core/src/test/org/apache/lucene/index/TestReadOnlyIndex.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/6f3f6a2d/lucene/core/src/test/org/apache/lucene/index/TestReadOnlyIndex.java
----------------------------------------------------------------------
diff --git a/lucene/core/src/test/org/apache/lucene/index/TestReadOnlyIndex.java b/lucene/core/src/test/org/apache/lucene/index/TestReadOnlyIndex.java
index 11e583e..9198002 100644
--- a/lucene/core/src/test/org/apache/lucene/index/TestReadOnlyIndex.java
+++ b/lucene/core/src/test/org/apache/lucene/index/TestReadOnlyIndex.java
@@ -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());