Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 12755 invoked from network); 19 Dec 2006 18:15:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Dec 2006 18:15:54 -0000 Received: (qmail 71916 invoked by uid 500); 19 Dec 2006 18:15:51 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 71890 invoked by uid 500); 19 Dec 2006 18:15: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 71869 invoked by uid 99); 19 Dec 2006 18:15:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Dec 2006 10:15: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; Tue, 19 Dec 2006 10:15:42 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6BF76714295 for ; Tue, 19 Dec 2006 10:15:22 -0800 (PST) Message-ID: <27040741.1166552122440.JavaMail.jira@brutus> Date: Tue, 19 Dec 2006 10:15:22 -0800 (PST) From: "Alexei Fedotov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Commented: (HARMONY-2710) [drlvm] Incomplete stack trace on jet/opt In-Reply-To: <24730133.1166109801060.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-2710?page=comments#action_12459712 ] Alexei Fedotov commented on HARMONY-2710: ----------------------------------------- What happens? 1. compile_me() is invoked for A. 2. This leads to class A initialization 3. This leads to class B initialization 4. This leads to runtime exception during class B initialization on step 8 5. This is converted to another exception on the step 10 > [drlvm] Incomplete stack trace on jet/opt > ----------------------------------------- > > Key: HARMONY-2710 > URL: http://issues.apache.org/jira/browse/HARMONY-2710 > Project: Harmony > Issue Type: Bug > Components: DRLVM > Reporter: Alexei Fedotov > Attachments: StackTraceElementTest.java > > > Please compile the attached test, remove B.class and run the test. > The line > at A.(LineNumberTest.java:10) > is lost at the top of stack trace when running on jet/opt. > The output on interpreter is as follows: > > java -Xint LineNumberTest > java.lang.NoClassDefFoundError: B > at A.(LineNumberTest.java:10) > at java.lang.reflect.VMReflection.newClassInstance(Native Method) > at java.lang.reflect.Constructor.newInstance(Unknown Source) > at java.lang.Class.newInstance(Unknown Source) > at LineNumberTest.main(LineNumberTest.java:3) > Caused by: java.lang.ClassNotFoundException: B > at java.net.URLClassLoader.findClass(URLClassLoader.java:623) > at java.lang.ClassLoader.loadClass(Unknown Source) > at > java.net.URLClassLoader$SubURLClassLoader.loadClass(URLClassLoader.java:116) > at java.lang.ClassLoader.loadClass(Unknown Source) > at A.(LineNumberTest.java:10) > ... 4 more > The output on jet: > java -Xem jet LineNumberTest > java.lang.NoClassDefFoundError: B > at java.lang.reflect.VMReflection.newClassInstance(Native Method) > at java.lang.reflect.Constructor.newInstance(Unknown Source) > at java.lang.Class.newInstance(Unknown Source) > at LineNumberTest.main(LineNumberTest.java:3) > Caused by: java.lang.ClassNotFoundException: B > at java.net.URLClassLoader.findClass(URLClassLoader.java:623) > at java.lang.ClassLoader.loadClass(Unknown Source) > at > java.net.URLClassLoader$SubURLClassLoader.loadClass(URLClassLoader.java:116) > at java.lang.ClassLoader.loadClass(Unknown Source) > at java.lang.reflect.VMReflection.newClassInstance(Native Method) > ... 3 more > I will think of integrating this test into our infrastructure -- 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