Merge
authormullan
Thu, 18 Jun 2009 10:38:21 -0400
changeset 3049 eb3d33c3771c
parent 3047 30e88a671e72 (current diff)
parent 3048 5c169b3218a5 (diff)
child 3050 c0ce59daa004
child 3460 9ffe320f9bf0
Merge
--- a/jdk/src/share/classes/sun/security/util/ManifestDigester.java	Thu Jun 18 11:12:13 2009 +0800
+++ b/jdk/src/share/classes/sun/security/util/ManifestDigester.java	Thu Jun 18 10:38:21 2009 -0400
@@ -1,5 +1,5 @@
 /*
- * Copyright 1997-2006 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 1997-2009 Sun Microsystems, Inc.  All Rights Reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -129,7 +129,7 @@
 
             if (len > 6) {
                 if (isNameAttr(bytes, start)) {
-                    StringBuilder nameBuf = new StringBuilder();
+                    StringBuilder nameBuf = new StringBuilder(sectionLen);
 
                     try {
                         nameBuf.append(