Skip to content

Commit

Permalink
fix: to compile with JDK8
Browse files Browse the repository at this point in the history
  • Loading branch information
davisusanibar committed Feb 17, 2023
1 parent 4f55531 commit 7500dd7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion java/dataset/src/main/cpp/jni_wrapper.cc
Expand Up @@ -32,7 +32,6 @@
#include "org_apache_arrow_dataset_substrait_JniWrapper.h"
#include "org_apache_arrow_dataset_jni_NativeMemoryPool.h"
#include "arrow/engine/substrait/util.h"
#include "arrow/util/io_util.h"

namespace {

Expand Down
Expand Up @@ -58,7 +58,7 @@ public void testRunQuery() throws Exception {
}

public static String getAbsolutePathOfParquetFiles(String fileName) {
return java.nio.file.Path.of(
return Paths.get(
Paths.get(".")
.toAbsolutePath()
.getParent()
Expand Down

0 comments on commit 7500dd7

Please sign in to comment.