File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -92,6 +92,14 @@ Copyright (c) 2012 - Jeremy Long. All Rights Reserved.
9292 <configurationDirectory >plugins/*</configurationDirectory >
9393 <includeConfigurationDirectoryInClasspath >true</includeConfigurationDirectoryInClasspath >
9494 <unixScriptTemplate >${project.basedir} /src/main/conf/unixBinTemplate</unixScriptTemplate >
95+ <!--
96+ enable-native-access=ALL-UNNAMED
97+ Java 21+: Needed by Lucene indexes unless we do -Dorg.apache.lucene.store.MMapDirectory.enableMemorySegments=false
98+ to go back to regular ByteBuffer (non-native) usage.
99+ -XX:+IgnoreUnrecognizedVMOptions
100+ Java <21: Allow use of enable-native-access on Java 11 JVMs without errors
101+ -->
102+ <extraJvmArguments >--enable-native-access=ALL-UNNAMED -XX:+IgnoreUnrecognizedVMOptions</extraJvmArguments >
95103 </configuration >
96104 <executions >
97105 <execution >
You can’t perform that action at this time.
0 commit comments