LUCENE-10339: Add require directive for accessing jdk.management (#568)

This commit is contained in:
Tomoko Uchida 2021-12-27 19:10:20 +09:00 committed by GitHub
parent 17b4680641
commit e89c9fcca8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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 recommended
exports org.apache.lucene.analysis;
exports org.apache.lucene.analysis.standard;