Skip to content

Commit 9391076

Browse files
committed
Allow mmap to use new preview JDK-19 APIs in Apache Lucene 9.4+
Signed-off-by: Andriy Redko <[email protected]>
1 parent 5c1d084 commit 9391076

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

distribution/src/config/jvm.options

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,6 @@ ${error.file}
7878

7979
# Explicitly allow security manager (https://bugs.openjdk.java.net/browse/JDK-8270380)
8080
18-:-Djava.security.manager=allow
81+
82+
# Allow mmap to use new JDK API in Apache Lucene (https://github.com/opensearch-project/OpenSearch/issues/4637)
83+
19:--enable-preview

0 commit comments

Comments
 (0)