Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 83533 invoked from network); 30 Dec 2006 01:14:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Dec 2006 01:14:44 -0000 Received: (qmail 25758 invoked by uid 500); 30 Dec 2006 01:14:51 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 25741 invoked by uid 500); 30 Dec 2006 01:14:51 -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 25732 invoked by uid 99); 30 Dec 2006 01:14:51 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Dec 2006 17:14:51 -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; Fri, 29 Dec 2006 17:14:43 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 61120714295 for ; Fri, 29 Dec 2006 17:14:23 -0800 (PST) Message-ID: <15785191.1167441263395.JavaMail.jira@brutus> Date: Fri, 29 Dec 2006 17:14:23 -0800 (PST) From: "Gregory Shimansky (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-2926) [drlvm][jvmti] JVMTI Exception Callbacks reported at incorrect byte code offset In-Reply-To: <14279856.1167434301263.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-2926?page=all ] Gregory Shimansky updated HARMONY-2926: --------------------------------------- Summary: [drlvm][jvmti] JVMTI Exception Callbacks reported at incorrect byte code offset (was: JVMTI Exception Callbacks reported at incorrect byte code offset) Assignee: Gregory Shimansky > [drlvm][jvmti] JVMTI Exception Callbacks reported at incorrect byte code offset > ------------------------------------------------------------------------------- > > Key: HARMONY-2926 > URL: http://issues.apache.org/jira/browse/HARMONY-2926 > Project: Harmony > Issue Type: Bug > Components: DRLVM > Environment: Binary JRE release: harmony-jre-r487452 > 32bit windows XP SP2 > Reporter: Chris Elford > Assigned To: Gregory Shimansky > Priority: Minor > Attachments: bugshow.c, repro.java > > > If one registers for Exception callbacks in JVMTI, the byte code offset reported for the throwing location is sometimes reported incorrectly 1 bytecode above where the exception is reported with other JVMs (e.g., Sun and BEA). I will attach sample Java applicationand JVMTI agent code to reproduce. > c:\java\bea50\bin\java -agentlib:bugshow repro > ... > EXCEPTION: main(bc=0xf)->main(bc=0x13) > ... > c:\java\sun50_09_jre\bin\java -agentlib:bugshow repro > ... > EXCEPTION: main(bc=0xf)->main(bc=0x13) > ... > c:\java\hre50\bin\java -agentlib:bugshow repro > ... > EXCEPTION: main(bc=0x10)->main(bc=0x13) > ... -- 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