Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 41128 invoked from network); 20 Jun 2007 13:19:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Jun 2007 13:19:47 -0000 Received: (qmail 6313 invoked by uid 500); 20 Jun 2007 13:19:51 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 6295 invoked by uid 500); 20 Jun 2007 13:19: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 6285 invoked by uid 99); 20 Jun 2007 13:19:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jun 2007 06:19:50 -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; Wed, 20 Jun 2007 06:19:46 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A8E237141DC for ; Wed, 20 Jun 2007 06:19:26 -0700 (PDT) Message-ID: <1561292.1182345566689.JavaMail.jira@brutus> Date: Wed, 20 Jun 2007 06:19:26 -0700 (PDT) From: "Vasily Zakharov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Closed: (HARMONY-2614) [drlvm][jit] Line numbers in stack trace are incorrect In-Reply-To: <5256674.1165853361118.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-2614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vasily Zakharov closed HARMONY-2614. ------------------------------------ Resolution: Cannot Reproduce Confirmed, I can't reproduce it also. Closing the issue as 'Cannot Reproduce'. > [drlvm][jit] Line numbers in stack trace are incorrect > ------------------------------------------------------ > > Key: HARMONY-2614 > URL: https://issues.apache.org/jira/browse/HARMONY-2614 > Project: Harmony > Issue Type: Bug > Components: DRLVM > Reporter: Vasily Zakharov > Priority: Minor > Attachments: LineNumberTest.java > > > When JIT is enabled and exception is thrown in some method, the line number for the exception in incorrect: in some cases, it points not to the line where > exception has occured, but to the first line of that method. > The code to reproduce is attached, here's the output. Note the line numbers for RI and DRLVM interpreter (11, 23, 35) and DRLVM JIT (11, 19, 31). > RI: > C:\> java LineNumberTest > Exception in thread "main" java.lang.RuntimeException > at LineNumberTest.check2(LineNumberTest.java:11) > at LineNumberTest.check1(LineNumberTest.java:23) > at LineNumberTest.main(LineNumberTest.java:35) > DRLVM: > C:\> java -Xint LineNumberTest > Uncaught exception in main: > java.lang.RuntimeException > at LineNumberTest.check2(LineNumberTest.java:11) > at LineNumberTest.check1(LineNumberTest.java:23) > at LineNumberTest.main(LineNumberTest.java:35) > C:\> java LineNumberTest > Uncaught exception in main: > java.lang.RuntimeException > at LineNumberTest.check2(LineNumberTest.java:11) > at LineNumberTest.check1(LineNumberTest.java:19) > at LineNumberTest.main(LineNumberTest.java:31) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.