Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 61603 invoked from network); 29 Dec 2006 23:21:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Dec 2006 23:21:43 -0000 Received: (qmail 18049 invoked by uid 500); 29 Dec 2006 23:21:50 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 18014 invoked by uid 500); 29 Dec 2006 23:21:50 -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 18004 invoked by uid 99); 29 Dec 2006 23:21:50 -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 15:21:50 -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 15:21:42 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id AA0157141D1 for ; Fri, 29 Dec 2006 15:21:22 -0800 (PST) Message-ID: <11344852.1167434482693.JavaMail.jira@brutus> Date: Fri, 29 Dec 2006 15:21:22 -0800 (PST) From: "Chris Elford (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-2926) 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 ] Chris Elford updated HARMONY-2926: ---------------------------------- Attachment: bugshow.c Simple JVMTI agent that registers for Exception events to demonstrate the bug. compile via cl /LD /MD /IPATH_TO_JVMTI.H bugshow.c > 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 > 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