Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 65060 invoked from network); 15 Feb 2007 20:33:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Feb 2007 20:33:30 -0000 Received: (qmail 307 invoked by uid 500); 15 Feb 2007 20:33:34 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 289 invoked by uid 500); 15 Feb 2007 20:33:34 -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 245 invoked by uid 99); 15 Feb 2007 20:33:34 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Feb 2007 12:33:34 -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; Thu, 15 Feb 2007 12:33:26 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 51EB97141EB for ; Thu, 15 Feb 2007 12:33:06 -0800 (PST) Message-ID: <19817216.1171571586333.JavaMail.jira@brutus> Date: Thu, 15 Feb 2007 12:33:06 -0800 (PST) From: "Gregory Shimansky (JIRA)" To: commits@harmony.apache.org Subject: [jira] Resolved: (HARMONY-3079) [dlrvm][classloader][opt] Opt does not handle exception raised by classloader (assertion fails classloader.cpp:1521) In-Reply-To: <21914103.1170136293668.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-3079?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gregory Shimansky resolved HARMONY-3079. ---------------------------------------- Resolution: Fixed Patch applied at 508131. Please check that it was applied as expected. > [dlrvm][classloader][opt] Opt does not handle exception raised by classloader (assertion fails classloader.cpp:1521) > -------------------------------------------------------------------------------------------------------------------- > > Key: HARMONY-3079 > URL: https://issues.apache.org/jira/browse/HARMONY-3079 > Project: Harmony > Issue Type: Bug > Components: DRLVM > Environment: Win IA32, OPT > Reporter: Aleksey Ignatenko > Attachments: H3079.patch, test.zip > > > Assertion failed - classloader.cpp:1521 on EUT jdtdebug suit. > Testcase:2 methods return the same type, 1-st method calls the 2-nd: > class A; > class B{ > static A getA(){return new A();}} > class C{ > static A getA(){return B.getA();}} > main: C.getA(); > JIT tries to resolve A class 2 times. If class is not accessable, classloader raises ClassNotfoundException 1-st time, JIT does not handle it, then when the 2-nd time JIT tries to resolve the same class VM fails with the assert on loading (because exception was already raised). > The issue here is that JIT does not handle raised exception by classloader in 1 compilation session. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.