LUCENE-10234: Add automatic module name to JAR manifests. (#440)

This commit is contained in:
Dawid Weiss 2021-11-15 17:02:40 +01:00
parent e034a2d6e2
commit 9d0eb88d2c
2 changed files with 5 additions and 1 deletions

View File

@ -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("-", "_")}"
])
}

View File

@ -202,6 +202,8 @@ API Changes
Improvements
---------------------
* LUCENE-10234: Added Automatic-Module-Name to all JARs. (Dawid Weiss)
* LUCENE-10182: TestRamUsageEstimator used RamUsageTester.sizeOf throughout, making some of the
tests trivial. Now, it compares results from RamUsageEstimator with those from RamUsageTester.
To prevent this error in the future, RamUsageTester.sizeOf was renamed to ramUsed.