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 committed by GitHub
parent 1e5e997880
commit f5e5cf008a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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

@ -228,6 +228,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.