afs opened a new issue, #2533: URL: https://github.com/apache/jena/issues/2533
### Change The upgrade of lucene 9.10. -> 9.11.0 #2532 causes the build output below. Both these warnings need to be addressed by moving the jena-text code forward to the now-preferred Lucene way of doing things. Building with a Java21 JDK, for release Java17 output: Lucene 9.10.0: ``` [INFO] Running org.apache.jena.query.text.assembler.TestTextDatasetAssembler Jun 10, 2024 11:47:38 AM org.apache.lucene.store.MemorySegmentIndexInputProvider <init> INFO: Using MemorySegmentIndexInput with Java 21 or later; to disable start with -Dorg.apache.lucene.store.MMapDirectory.enableMemorySegments=false ``` Lucene 9.11.0: ``` [INFO] Running org.apache.jena.query.text.assembler.TestTextDatasetAssembler WARNING: A restricted method in java.lang.foreign.Linker has been called WARNING: java.lang.foreign.Linker::downcallHandle has been called by the unnamed module WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for this module Jun 10, 2024 11:45:22 AM org.apache.lucene.store.MemorySegmentIndexInputProvider <init> INFO: Using MemorySegmentIndexInput and native madvise support with Java 21 or later; to disable start with -Dorg.apache.lucene.store.MMapDirectory.enableMemorySegments=false ``` ### Are you interested in contributing a pull request for this task? None -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
