Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 33953 invoked from network); 14 Aug 2007 13:55:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Aug 2007 13:55:51 -0000 Received: (qmail 91081 invoked by uid 500); 14 Aug 2007 13:55:49 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 91056 invoked by uid 500); 14 Aug 2007 13:55:49 -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 91029 invoked by uid 99); 14 Aug 2007 13:55:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Aug 2007 06:55:49 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED 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; Tue, 14 Aug 2007 13:55:51 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B8F097141EF for ; Tue, 14 Aug 2007 06:55:30 -0700 (PDT) Message-ID: <19712822.1187099730750.JavaMail.jira@brutus> Date: Tue, 14 Aug 2007 06:55:30 -0700 (PDT) From: "Gregory Shimansky (JIRA)" To: commits@harmony.apache.org Subject: [jira] Assigned: (HARMONY-4342) [buildtest][vts] Test vm/jvms/instructions/invokeReturn/return/return02/return0201/return0201.xml is incorrect In-Reply-To: <31300339.1183609744821.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 [ https://issues.apache.org/jira/browse/HARMONY-4342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gregory Shimansky reassigned HARMONY-4342: ------------------------------------------ Assignee: Gregory Shimansky > [buildtest][vts] Test vm/jvms/instructions/invokeReturn/return/return02/return0201/return0201.xml is incorrect > -------------------------------------------------------------------------------------------------------------- > > Key: HARMONY-4342 > URL: https://issues.apache.org/jira/browse/HARMONY-4342 > Project: Harmony > Issue Type: Bug > Components: build - test - ci > Reporter: Vera Petrashkova > Assignee: Gregory Shimansky > Attachments: return0201.patch > > > This positive test checks that after return instruction > in some synchronized method, the monitor acquired or reentered on > invocation of the method is released or exited > This test contains class return0201First which defines synchronized method run() . > Method run() method contains monitorenter associated with array object > which should be used by another thread but it does not contains monitorexit > instruction. > See source code > ------------return0201pFirst.jj--------------- > ; > ; run method > .method public synchronized run()V > .limit stack 1 > .limit locals 2 > > ; get locker object from lockerField field and store it in local variable 1 > aload_0 > getfield org/apache/harmony/vts/test/vm/jvms/instructions/invokeReturn/return/return02/return0201/return0201pFirst/lockerField [I > astore_1 > ; get a lock to locker object > aload_1 > monitorenter > ; return must unlock locker object > return > .end method > -------------------- > As the result RI throws IllegalMonitorStateException on this method. > On Harmony this test fails. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.