uschindler commented on pull request #177:
URL: https://github.com/apache/lucene/pull/177#issuecomment-890520954


   > Hi @uschindler,
   > I get the following compilation errors when I build your patch (Gradle 
build 6.3.8)
   > 
   > > 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
   > 
   > Your help will be greatly appriciated.
   > Best Regards
   
   Hi,
   
   the current branch works with the release candidate builds of OpenJDK 17. If 
you get errors like this, you may possibly use a OpenJDK 17 version before 
Early Access Build 25.
   
   Ca you post `java -version`and tell us if you maybe compiledyour own version?


-- 
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

Reply via email to