jbhateja commented on pull request #177: URL: https://github.com/apache/lucene/pull/177#issuecomment-890407948
Hi @uschindler , I tried to build your patch but get the following error. Can you kindly suggest what could be the issue. Error log:- > Task :altJvmWarning NOTE: Alternative java toolchain will be used for compilation and tests: Project will use Java 17 from: /mnt/c/Users/jatin/home-ubuntu/softwares/jdk-17 Gradle runs with Java 14 from: /usr/lib/jvm/java-14-openjdk-amd64 > Task :errorProneSkipped WARNING: errorprone disabled (skipped on non-nightly runs) > Task :lucene:core:compileJava warning: using incubating module(s): jdk.incubator.foreign /mnt/c/Users/jatin/home-ubuntu/sandboxes/vectorAPI-effort/lucene-jdk-foreign/lucene/lucene/core/src/java/org/apache/lucene/store/MemorySegmentIndexInput.java:27: error: cannot find symbol import jdk.incubator.foreign.ResourceScope; ^ symbol: class ResourceScope location: package jdk.incubator.foreign /mnt/c/Users/jatin/home-ubuntu/sandboxes/vectorAPI-effort/lucene-jdk-foreign/lucene/lucene/core/src/java/org/apache/lucene/store/MemorySegmentIndexInput.java:51: error: cannot find symbol final ResourceScope scope; ^ symbol: class ResourceScope Thanks in advance. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org