Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 64620 invoked from network); 27 Jul 2006 16:48:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Jul 2006 16:48:13 -0000 Received: (qmail 85215 invoked by uid 500); 27 Jul 2006 16:48:10 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 85173 invoked by uid 500); 27 Jul 2006 16:48:10 -0000 Mailing-List: contact harmony-dev-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-dev@incubator.apache.org Received: (qmail 85161 invoked by uid 99); 27 Jul 2006 16:48:10 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jul 2006 09:48:10 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of anton.luht@gmail.com designates 64.233.182.187 as permitted sender) Received: from [64.233.182.187] (HELO nf-out-0910.google.com) (64.233.182.187) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jul 2006 09:48:10 -0700 Received: by nf-out-0910.google.com with SMTP id x4so230936nfb for ; Thu, 27 Jul 2006 09:47:45 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=sqeCR5ZfDiLX/fgEC2z1JPtliwLSgrbjQq3/P+lYYsQ+flgsnkzEEwV7RlfJ3pKwtGmHsUIRt3utI12pKGvMlDq9qdqi9ExVq7Ebdp7BRv6g80oHs/+Jmhhfv5HNVfNU/WecUwxMnt8Xx4Nv31HpndEsjOcUHhxdEht3SfEPh9g= Received: by 10.82.109.9 with SMTP id h9mr422582buc; Thu, 27 Jul 2006 09:47:45 -0700 (PDT) Received: by 10.78.15.6 with HTTP; Thu, 27 Jul 2006 09:47:45 -0700 (PDT) Message-ID: Date: Thu, 27 Jul 2006 20:47:45 +0400 From: "Anton Luht" To: harmony-dev@incubator.apache.org Subject: [drlvm] crash handling MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hello, I've been trying to nail down a small problem - new java.util.zip.Deflater().setDictionary(new byte[] {}) throws ArrayIndexOutOfBoundsException in Harmony and doesn't throw in RI. Trying to find a code that causes this problem I've modified native code and after one of modifications VM crashed, but not with usual stacktrace but with popup window (I did it on Windows) that offered to debug my application. I fully understand that it was my fault, etc, but I believe that Harmony code is not 100% error-free and such errors in native code may happen. Maybe it's worth to catch such errors and wrap them into regular Exceptions or at least print stacktrace to the console. -- Regards, Anton Luht, Intel Middleware Products Division --------------------------------------------------------------------- Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org For additional commands, e-mail: harmony-dev-help@incubator.apache.org