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/08/01 13:26:17 UTC

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

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