You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2021/07/31 21:53:53 UTC

[GitHub] [lucene] jbhateja commented on pull request #177: Initial rewrite of MMapDirectory for JDK-17 preview (incubating) Panama APIs (>= JDK-17-ea-b25)

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-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org