Apache Lucene open-source search software
LUCENE-10287: Fix startup script of module enabled Luke to pass jdk.unsupported as module (#517)
Uwe Schindler9cb16df215a5
diff --git a/lucene/distribution/src/binary-release/bin/luke.cmd b/lucene/distribution/src/binary-release/bin/luke.cmdindex ff9b46b04a4..d5a3ce17c83 100644--- a/lucene/distribution/src/binary-release/bin/luke.cmd+++ b/lucene/distribution/src/binary-release/bin/luke.cmd@@ -17,5 +17,5 @@SETLOCALSET 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.lukeENDLOCALdiff --git a/lucene/distribution/src/binary-release/bin/luke.sh b/lucene/distribution/src/binary-release/bin/luke.shindex 0cc7bd76e38..09145328b5a 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.lukediff --git a/lucene/luke/src/distribution/README.md b/lucene/luke/src/distribution/README.mdindex 40e55b3a416..0548fd17df8 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!