Author: markt
Date: Wed Sep 24 18:49:33 2014
New Revision: 1627394

URL: http://svn.apache.org/r1627394
Log:
Bump up the buffer size since the installer is getting close to 10MB.

Modified:
    tomcat/trunk/java/org/apache/tomcat/buildutil/SignCode.java

Modified: tomcat/trunk/java/org/apache/tomcat/buildutil/SignCode.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/buildutil/SignCode.java?rev=1627394&r1=1627393&r2=1627394&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/buildutil/SignCode.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/buildutil/SignCode.java Wed Sep 24 
18:49:33 2014
@@ -331,8 +331,8 @@ public class SignCode extends Task {
      * @param files Files to be signed
      */
     private static String getApplicationString(List<File> files) throws 
IOException {
-        // 10 MB should be more than enough for Tomcat
-        ByteArrayOutputStream baos = new ByteArrayOutputStream(10 * 1024 * 
1024);
+        // 16 MB should be more than enough for Tomcat
+        ByteArrayOutputStream baos = new ByteArrayOutputStream(16 * 1024 * 
1024);
         try (ZipOutputStream zos = new ZipOutputStream(baos)) {
             byte[] buf = new byte[32 * 1024];
             for (int i = 0; i < files.size(); i++) {



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to