mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 09:29:38 +01:00
8302623: jarsigner - use BufferedOutputStream to improve performance while creating the signed jar
Reviewed-by: weijun
(cherry picked from commit f82385e587)
This commit is contained in:
committed by
Vitaly Provodin
parent
72bf1b4562
commit
cc86e4f23a
@@ -688,7 +688,8 @@ public final class JarSigner {
|
||||
throw new AssertionError(asae);
|
||||
}
|
||||
|
||||
ZipOutputStream zos = new ZipOutputStream(os);
|
||||
ZipOutputStream zos = new ZipOutputStream(
|
||||
(os instanceof BufferedOutputStream) ? os : new BufferedOutputStream(os));
|
||||
|
||||
Manifest manifest = new Manifest();
|
||||
byte[] mfRawBytes = null;
|
||||
|
||||
Reference in New Issue
Block a user