Apache Lucene open-source search software
LUCENE-10234: Add automatic module name to JAR manifests. (#440)
Dawid Weissf5e5cf008aa7
diff --git a/gradle/java/jar-manifest.gradle b/gradle/java/jar-manifest.gradleindex bb45405aa30..2840b8b7424 100644--- a/gradle/java/jar-manifest.gradle+++ b/gradle/java/jar-manifest.gradle@@ -64,7 +64,9 @@ subprojects {"X-Compile-Target-JDK" : "${-> project.targetCompatibility}","X-Build-JDK" : "${System.properties['java.version']} (${System.properties['java.vendor']} ${System.properties['java.vm.version']})",- "X-Build-OS" : "${System.properties['os.name']} ${System.properties['os.arch']} ${System.properties['os.version']}"+ "X-Build-OS" : "${System.properties['os.name']} ${System.properties['os.arch']} ${System.properties['os.version']}",++ "Automatic-Module-Name" : "${-> project.path.replaceFirst(":", "").replace(':', '.').replace("-", "_")}"])}diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txtindex 931f7962741..01ddb39d71b 100644--- a/lucene/CHANGES.txt+++ b/lucene/CHANGES.txt@@ -228,6 +228,8 @@ API ChangesImprovements---------------------+* LUCENE-10234: Added Automatic-Module-Name to all JARs. (Dawid Weiss)+* LUCENE-10182: TestRamUsageEstimator used RamUsageTester.sizeOf throughout, making some of thetests trivial. Now, it compares results from RamUsageEstimator with those from RamUsageTester.To prevent this error in the future, RamUsageTester.sizeOf was renamed to ramUsed.