Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 29247 invoked from network); 6 Oct 2006 02:11:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Oct 2006 02:11:41 -0000 Received: (qmail 18954 invoked by uid 500); 6 Oct 2006 02:11:41 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 18858 invoked by uid 500); 6 Oct 2006 02:11:41 -0000 Mailing-List: contact harmony-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-commits@incubator.apache.org Received: (qmail 18847 invoked by uid 99); 6 Oct 2006 02:11:40 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Oct 2006 19:11:40 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=5.0 tests=ALL_TRUSTED,NO_REAL_NAME Received: from [140.211.166.113] ([140.211.166.113:49611] helo=eris.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 38/B0-04543-95BB5254 for ; Thu, 05 Oct 2006 19:11:38 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 31C411A981A; Thu, 5 Oct 2006 19:11:33 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r453466 - /incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/object/vm_arrays.cpp Date: Fri, 06 Oct 2006 02:11:33 -0000 To: harmony-commits@incubator.apache.org From: geirm@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20061006021133.31C411A981A@eris.apache.org> X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: geirm Date: Thu Oct 5 19:11:32 2006 New Revision: 453466 URL: http://svn.apache.org/viewvc?view=rev&rev=453466 Log: HARMONY-1696 vm_multianewarray_recursive() contains calls to set_vector_size() which is already done in vm_new_vector(). Ubuntu 6 - smoke, c-unit, ~kernel Modified: incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/object/vm_arrays.cpp Modified: incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/object/vm_arrays.cpp URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/object/vm_arrays.cpp?view=diff&rev=453466&r1=453465&r2=453466 ============================================================================== --- incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/object/vm_arrays.cpp (original) +++ incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/object/vm_arrays.cpp Thu Oct 5 19:11:32 2006 @@ -339,7 +339,6 @@ assert(exn_raised()); return 0; } - set_vector_length(array, dims_array[0]); if (max_depth == 0) return array; d = 1; @@ -351,8 +350,6 @@ // OutOfMemoryError occured return 0; } - - set_vector_length(element, dims_array[d]); if (d != max_depth) { obj[d]->object = element;