8302623: jarsigner - use BufferedOutputStream to improve performance while creating the signed jar
Reviewed-by: weijun
This commit is contained in:
parent
43cf8b3d80
commit
f82385e587
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user