spring-boot/spring-boot-project
Phillip Webb 33c5e1269a Write signature files to uber jars to for Oracle Java 17 verification
Update Gradle and Maven plugins to write an empty `META-INF/BOOT.SF`
file whenever there is a nested signed jar.

This update allows Oracle Java 17 to correctly verify the nested JARs.
The file is required because `JarVerifier` has code roughly equivalent
to:

	if (!jarManifestNameChecked && SharedSecrets
			.getJavaUtilZipFileAccess().getManifestName(jf, true) == null) {
    	throw new JarException("The JCE Provider " + jarURL.toString() +
    		" is not signed.");
	}

The `SharedSecrets.getJavaUtilZipFileAccess().getManifestName(jf, true)`
call ends up in `ZipFile.getManifestName(onlyIfSignatureRelatedFiles)`
which is a private method that we cannot override in our `NestedJarFile`
subclass. By writing an empty `.SF` file we ensure that the `Manifest`
is always returned because there are always "signature related files".

Fixes gh-28837
2023-10-16 16:19:16 -07:00
..
spring-boot Narrow the scope of 0e3a196 to Resource[] for array binding 2023-10-16 18:18:34 +01:00
spring-boot-actuator Adapt to breaking API change in Micrometer 2023-10-10 17:56:56 +01:00
spring-boot-actuator-autoconfigure Polish gh-35082 2023-10-12 14:17:02 +02:00
spring-boot-autoconfigure Polish "Add properties for configuring EnumFeature and JsonNodeFeature" 2023-10-16 15:39:25 +01:00
spring-boot-dependencies Upgrade to Spring Retry 2.0.4 2023-10-16 13:58:18 +01:00
spring-boot-devtools Merge branch '3.1.x' 2023-10-03 11:21:29 +01:00
spring-boot-docker-compose Polish gh-35082 2023-10-12 14:17:02 +02:00
spring-boot-docs Polish adoc formatting 2023-10-16 15:50:58 -07:00
spring-boot-parent Merge branch '3.1.x' 2023-10-11 11:29:36 +01:00
spring-boot-starters Adapt to breaking API change in Micrometer 2023-10-10 17:56:56 +01:00
spring-boot-test Configure a RestClient.Builder with RestClientTest 2023-09-29 15:07:38 -05:00
spring-boot-test-autoconfigure Configure a RestClient.Builder with RestClientTest 2023-09-29 15:07:38 -05:00
spring-boot-testcontainers Support parallel initialization of Testcontainers 2023-10-14 23:58:25 -07:00
spring-boot-tools Write signature files to uber jars to for Oracle Java 17 verification 2023-10-16 16:19:16 -07:00