You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by us...@apache.org on 2021/12/06 19:25:08 UTC
[lucene] branch branch_9x updated: LUCENE-10287: Fix startup script of module enabled Luke to pass jdk.unsupported as module (#517)
This is an automated email from the ASF dual-hosted git repository.
uschindler pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/lucene.git
The following commit(s) were added to refs/heads/branch_9x by this push:
new 8e7fbca LUCENE-10287: Fix startup script of module enabled Luke to pass jdk.unsupported as module (#517)
8e7fbca is described below
commit 8e7fbcaf5b516623381e9055f11b695f7fa3658e
Author: Uwe Schindler <us...@apache.org>
AuthorDate: Mon Dec 6 20:23:48 2021 +0100
LUCENE-10287: Fix startup script of module enabled Luke to pass jdk.unsupported as module (#517)
---
lucene/distribution/src/binary-release/bin/luke.cmd | 2 +-
lucene/distribution/src/binary-release/bin/luke.sh | 2 +-
lucene/luke/src/distribution/README.md | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/lucene/distribution/src/binary-release/bin/luke.cmd b/lucene/distribution/src/binary-release/bin/luke.cmd
index ff9b46b..d5a3ce1 100644
--- a/lucene/distribution/src/binary-release/bin/luke.cmd
+++ b/lucene/distribution/src/binary-release/bin/luke.cmd
@@ -17,5 +17,5 @@
SETLOCAL
SET MODULES=%~dp0..
-start javaw --module-path "%MODULES%\modules;%MODULES%\modules-thirdparty" --add-modules org.apache.logging.log4j --module org.apache.lucene.luke
+start javaw --module-path "%MODULES%\modules;%MODULES%\modules-thirdparty" --add-modules jdk.unsupported,org.apache.logging.log4j --module org.apache.lucene.luke
ENDLOCAL
diff --git a/lucene/distribution/src/binary-release/bin/luke.sh b/lucene/distribution/src/binary-release/bin/luke.sh
index 0cc7bd7..0914532 100644
--- a/lucene/distribution/src/binary-release/bin/luke.sh
+++ b/lucene/distribution/src/binary-release/bin/luke.sh
@@ -17,4 +17,4 @@
MODULES=`dirname "$0"`/..
MODULES=`cd "$MODULES" && pwd`
-java --module-path "$MODULES/modules:$MODULES/modules-thirdparty" --add-modules org.apache.logging.log4j --module org.apache.lucene.luke
+java --module-path "$MODULES/modules:$MODULES/modules-thirdparty" --add-modules jdk.unsupported,org.apache.logging.log4j --module org.apache.lucene.luke
diff --git a/lucene/luke/src/distribution/README.md b/lucene/luke/src/distribution/README.md
index 40e55b3..0548fd1 100644
--- a/lucene/luke/src/distribution/README.md
+++ b/lucene/luke/src/distribution/README.md
@@ -27,7 +27,7 @@ java -jar ${luke.cmd}
or, using Java modules:
```
-java --module-path . --add-modules org.apache.logging.log4j --module org.apache.lucene.luke
+java --module-path . --add-modules jdk.unsupported,org.apache.logging.log4j --module org.apache.lucene.luke
```
Happy index hacking!