Apache Lucene open-source search software
LUCENE-10339: Add require directive for accessing jdk.management (#568)
Tomoko Uchidae89c9fcca87b
diff --git a/lucene/core/src/java/module-info.java b/lucene/core/src/java/module-info.javaindex 79ca14519e8..ae890d9dd74 100644--- a/lucene/core/src/java/module-info.java+++ b/lucene/core/src/java/module-info.java@@ -19,6 +19,7 @@@SuppressWarnings("module") // the test framework is compiled after the core...module org.apache.lucene.core {requires jdk.unsupported; // this is needed for MMapDirectory to unmap+ requires static jdk.management; // this is optional but explicit declaration is recommendedexports org.apache.lucene.analysis;exports org.apache.lucene.analysis.standard;