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?
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:
Lucene 9.11.0:
Are you interested in contributing a pull request for this task?
None