Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 99590 invoked from network); 6 Dec 2006 16:15:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Dec 2006 16:15:46 -0000 Received: (qmail 70055 invoked by uid 500); 6 Dec 2006 16:15:54 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 70040 invoked by uid 500); 6 Dec 2006 16:15:54 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 70031 invoked by uid 99); 6 Dec 2006 16:15:54 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Dec 2006 08:15:54 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Dec 2006 08:15:45 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 0D9D97142F5 for ; Wed, 6 Dec 2006 08:15:25 -0800 (PST) Message-ID: <18707221.1165421725053.JavaMail.jira@brutus> Date: Wed, 6 Dec 2006 08:15:25 -0800 (PST) From: "Alexander D Shipilov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-2504) If method throws exception after monitorenter, JIT does not release the lock. In-Reply-To: <136063.1165421482474.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/HARMONY-2504?page=all ] Alexander D Shipilov updated HARMONY-2504: ------------------------------------------ Attachment: Harmony-2504test.zip Zip-file contains: sources: 1 java-file 1 jasmin file (http://jasmin.sourceforge.net/) and 2 class-files from this sources > If method throws exception after monitorenter, JIT does not release the lock. > ----------------------------------------------------------------------------- > > Key: HARMONY-2504 > URL: http://issues.apache.org/jira/browse/HARMONY-2504 > Project: Harmony > Issue Type: Bug > Components: DRLVM > Environment: Intel x86 IA32, WinXP > Reporter: Alexander D Shipilov > Attachments: Harmony-2504test.zip > > > Thread makes monitorenter, and throws exception (NPE) to the output. > java.lang.IllegalMonitorStateException expected to appear at the output > (because, according to the specification, the last exception should appear). > Then other thread tries to get a lock. > DRLVM hangs up. It's throws NPE instead of IllegalMonitorStateException and does not release the > lock. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira