Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 53002 invoked from network); 13 Dec 2006 13:47:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Dec 2006 13:47:44 -0000 Received: (qmail 6675 invoked by uid 500); 13 Dec 2006 13:47:51 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 6582 invoked by uid 500); 13 Dec 2006 13:47: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 6573 invoked by uid 99); 13 Dec 2006 13:47:51 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Dec 2006 05:47: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; Wed, 13 Dec 2006 05:47:43 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 223F47140D2 for ; Wed, 13 Dec 2006 05:47:23 -0800 (PST) Message-ID: <8503863.1166017643137.JavaMail.jira@brutus> Date: Wed, 13 Dec 2006 05:47:23 -0800 (PST) From: "Pavel Afremov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Commented: (HARMONY-2650) [drlvm][exception] massive boot class loading causes uncaught ClassNotFoundException In-Reply-To: <24684839.1165934721505.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-2650?page=comments#action_12458116 ] Pavel Afremov commented on HARMONY-2650: ---------------------------------------- It is not a bug. DRLVM stops works because System.exit() is called. In static constructor of org.mmtk.vm.VM there is following code bloc. try { xfa = (Factory) Class.forName(vmPackage+".Factory").newInstance(); } catch (Exception e) { e.printStackTrace(); System.exit(-1); // we must *not* go on if the above has failed } > [drlvm][exception] massive boot class loading causes uncaught ClassNotFoundException > ------------------------------------------------------------------------------------ > > Key: HARMONY-2650 > URL: http://issues.apache.org/jira/browse/HARMONY-2650 > Project: Harmony > Issue Type: Bug > Components: DRLVM > Reporter: Vladimir Beliaev > Priority: Minor > Attachments: Test.java > > > I've double checked the results of running test described in http://issues.apache.org/jira/browse/HARMONY-2615. > Unhandled ClassNotFoundException happens while this test running in spite of try { ... } catch (Throwable e) {} wrapping. > I've created this JIRA to let working on this current issue regardless whether the test is integrated to any suite or not. > Please take the test from http://issues.apache.org/jira/browse/HARMONY-2615. > Part of test output (which shows issue) for Windows/IA32 and Linux/IA32 is: > .... org.mmtk.plan.Plan > java.lang.ClassNotFoundException: null.Factory > at java.lang.Class.forName(Unknown Source) > at java.lang.Class.forName(Unknown Source) > at org.mmtk.vm.VM.(Unknown Source) > at org.mmtk.utility.Constants.(Unknown Source) > at org.mmtk.plan.Plan.(Unknown Source) > at java.lang.VMClassRegistry.initializeClass(Native Method) > at java.lang.Class.forName(Unknown Source) > at java.lang.Class.forName(Unknown Source) > at CrashTestBCP.load(CrashTestBCP.java:75) > at CrashTestBCP.main(CrashTestBCP.java:98) > Thanks > Vladimir -- 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