Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 21882 invoked from network); 13 Nov 2006 10:01:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Nov 2006 10:01:59 -0000 Received: (qmail 33474 invoked by uid 500); 13 Nov 2006 10:02:10 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 33373 invoked by uid 500); 13 Nov 2006 10:02:09 -0000 Mailing-List: contact harmony-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-commits@incubator.apache.org Received: (qmail 33362 invoked by uid 99); 13 Nov 2006 10:02:09 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Nov 2006 02:02:09 -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; Mon, 13 Nov 2006 02:01:58 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 519C17142D7 for ; Mon, 13 Nov 2006 02:01:38 -0800 (PST) Message-ID: <13917369.1163412098331.JavaMail.jira@brutus> Date: Mon, 13 Nov 2006 02:01:38 -0800 (PST) From: "Alexey Varlamov (JIRA)" To: harmony-commits@incubator.apache.org Subject: [jira] Closed: (HARMONY-1895) [classlib] [luni/tests] endless recursion in ClassTest.test_getClasses_subtest0 In-Reply-To: <12298397.1161086315026.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-1895?page=all ] Alexey Varlamov closed HARMONY-1895. ------------------------------------ Closing > [classlib] [luni/tests] endless recursion in ClassTest.test_getClasses_subtest0 > ------------------------------------------------------------------------------- > > Key: HARMONY-1895 > URL: http://issues.apache.org/jira/browse/HARMONY-1895 > Project: Harmony > Issue Type: Bug > Components: Classlib > Environment: DRLVM > Reporter: Alexey Varlamov > Assigned To: Nathan Beyer > Attachments: H-1895.ClassTest.patch > > > The test_getClasses_subtest0 in modules/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/ClassTest.java leads to endless recursion on DRLVM, because of the following: > The test tries to detect presence of privileged frames on stack during various calls to SecurityManager, via calling AccessController.checkPermission(). If the latter happens to invoke any code guarded by security checks in a privileged block, it will loop endlessly (actually until stack space exhausted, but this may take very long). > We have exactly this sutiation in DRLVM, due to lazy loading of security policy and AccessController impl nuances. -- 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