mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-17 12:09:16 +00:00
Merge branch '3.5.x'
Closes gh-47910
This commit is contained in:
+2
-5
@@ -324,11 +324,8 @@ class BootZipCopyAction implements CopyAction {
|
||||
|
||||
private void writeJarModeLibrary(String location, JarModeLibrary library) throws IOException {
|
||||
String name = location + library.getName();
|
||||
writeEntry(name, ZipEntryContentWriter.fromInputStream(library.openStream()), false, (entry) -> {
|
||||
try (InputStream in = library.openStream()) {
|
||||
prepareStoredEntry(library.openStream(), false, entry);
|
||||
}
|
||||
});
|
||||
writeEntry(name, ZipEntryContentWriter.fromInputStream(library.openStream()), false,
|
||||
(entry) -> prepareStoredEntry(library.openStream(), false, entry));
|
||||
if (BootZipCopyAction.this.layerResolver != null) {
|
||||
Layer layer = BootZipCopyAction.this.layerResolver.getLayer(library);
|
||||
Assert.state(this.layerIndex != null, "'layerIndex' must not be null");
|
||||
|
||||
Reference in New Issue
Block a user