Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 5035 invoked from network); 16 Nov 2006 05:54:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Nov 2006 05:54:11 -0000 Received: (qmail 42788 invoked by uid 500); 16 Nov 2006 05:54:18 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 42757 invoked by uid 500); 16 Nov 2006 05:54:18 -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 42748 invoked by uid 99); 16 Nov 2006 05:54:18 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Nov 2006 21:54:18 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of alexey.v.varlamov@gmail.com designates 66.249.82.230 as permitted sender) Received: from [66.249.82.230] (HELO wx-out-0506.google.com) (66.249.82.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Nov 2006 21:54:05 -0800 Received: by wx-out-0506.google.com with SMTP id h29so489231wxd for ; Wed, 15 Nov 2006 21:53:44 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=qsXE5nYiq6mjIWhi14KrORPs5gSp6KvUWGqDgcQAYwh8zf3VDQAfZII3W1i8Afo5sOG/dtoUkkgkko7mxGbbeHwQW29bFEaHOTSqANWdmBkP3whw6DQ+3k87qLW+p0AGJlqaZk1Y+NbKZS6WK2N0pgZ1v6hAn5wBXFt0OHodYN4= Received: by 10.70.131.20 with SMTP id e20mr24558wxd.1163656424514; Wed, 15 Nov 2006 21:53:44 -0800 (PST) Received: by 10.70.23.14 with HTTP; Wed, 15 Nov 2006 21:53:44 -0800 (PST) Message-ID: Date: Thu, 16 Nov 2006 11:53:44 +0600 From: "Alexey Varlamov" To: harmony-dev@incubator.apache.org Subject: Re: [drlvm] New regression: java.lang.ClassGenericsTest4 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200611150401.28037.gshimansky@gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org 2006/11/16, Gregory Shimansky : > Alexey Varlamov wrote: > > Err, what I found is really trivial bug. But it took quite a few time > > to discover - seems today was not my day :( > > > > Index: vm/vmcore/src/exception/exceptions_impl.cpp > > =============================================================== > > --- vm/vmcore/src/exception/exceptions_impl.cpp (revision 475132) > > +++ vm/vmcore/src/exception/exceptions_impl.cpp (working copy) > > @@ -281,7 +281,7 @@ > > > > if (NULL != exception->exc_cause) { > > tmn_suspend_disable_recursive(); > > - jthrowable exc_cause = oh_allocate_local_handle(); > > + exc_cause = oh_allocate_local_handle(); > > exc_cause->object = exception->exc_cause; > > tmn_suspend_enable_recursive(); > > } > > Cool. Could you please commit the fix? Committed along with regression testcase at r475590. > > > OK, we definitely need a regression test for this. > > > > 2006/11/15, Gregory Shimansky : > >> Alexey Varlamov wrote: > >> > 2006/11/15, Alexey Varlamov : > >> >> 2006/11/15, Gregory Shimansky : > >> >> > Alexey Varlamov wrote: > >> >> > > The guilty change is the following, which effectively turns on > >> >> > > VM_LAZY_EXCEPTION support in exceptions_impl.cpp: > >> >> > > >> >> > Well this is a patch from HARMONY-2018 which doesn't hide the > >> fact that > >> >> > it enables lazy exceptions. Why shouldn't we enable them? > >> > > >> > Gregory, > >> > > >> > I've just re-read my posts and couldn't find anything critique or > >> > offending - please don't take regressions too personal. I'm sure we > >> > will be able to fix this one quite soon. > >> > >> I wasn't offended in any way. I was just thinking that you know some > >> secret knowledge that lazy exceptions do not work and thus enabling them > >> is wrong. > >> > >> -- > >> Gregory > >> > >> > > > > > -- > Gregory > >