spring-boot/spring-boot-tests/spring-boot-integration-tests
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-configuration-processor-tests Merge branch '2.7.x' into 3.0.x 2023-03-02 22:10:01 -08:00
spring-boot-launch-script-tests Merge branch '2.7.x' into 3.0.x 2023-10-10 12:30:11 -07:00
spring-boot-loader-classic-tests Add Maven and Gradle option for the loader implementation to use 2023-10-03 15:40:42 -07:00
spring-boot-loader-tests Write signature files to uber jars to for Oracle Java 17 verification 2023-10-16 16:19:16 -07:00
spring-boot-server-tests Relocate launcher classes 2023-10-03 14:53:04 -07:00