uschindler commented on a change in pull request #18:
URL: https://github.com/apache/lucene/pull/18#discussion_r594207200



##########
File path: gradle/defaults-java.gradle
##########
@@ -60,3 +60,14 @@ allprojects {
     }
   }
 }
+
+configure(project(":lucene:core")) {
+  plugins.withType(JavaPlugin) {

Review comment:
       For MMapDirectory my plan would be to have a separate 
lucene-mmap-foreign-jdk16.jar that compiled against JDK 16 that provides 
another directory. Code that wants to use it knows:
   - you have to add the JAR file
   - you have to hardcode new JDK16MMapDirectory() instead of FSDircetory.open()
   - add command line flags




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

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