Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 13240 invoked from network); 5 Oct 2006 10:50:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Oct 2006 10:50:03 -0000 Received: (qmail 16001 invoked by uid 500); 5 Oct 2006 10:49:58 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 15963 invoked by uid 500); 5 Oct 2006 10:49:58 -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 15819 invoked by uid 99); 5 Oct 2006 10:49:57 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Oct 2006 03:49:57 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [209.237.227.198] ([209.237.227.198:58854] helo=brutus.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 7D/23-20288-833E4254 for ; Thu, 05 Oct 2006 03:49:32 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 901AA7142D1 for ; Thu, 5 Oct 2006 03:48:19 -0700 (PDT) Message-ID: <14124923.1160045299587.JavaMail.root@brutus> Date: Thu, 5 Oct 2006 03:48:19 -0700 (PDT) From: "Elena Semukhina (JIRA)" To: harmony-commits@incubator.apache.org Subject: [jira] Created: (HARMONY-1720) Classlib test org.apache.harmony.luni.tests.java.lang.ThreadTest.test_stop_subtest0 fails MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Classlib test org.apache.harmony.luni.tests.java.lang.ThreadTest.test_stop_subtest0 fails ----------------------------------------------------------------------------------------- Key: HARMONY-1720 URL: http://issues.apache.org/jira/browse/HARMONY-1720 Project: Harmony Issue Type: Bug Components: DRLVM Reporter: Elena Semukhina Priority: Critical The test fails with the following assertion: test_stop_subtest0(org.apache.harmony.luni.tests.java.lang.ThreadTest)junit.fework.AssertionFailedError: checkAccess called The test does not expect that security manager's checkAccess() method is called when stopping a new thread which is not running yet. I think it is a compatibility issue. The spec for Thread.stop() says: If there is a security manager installed, its checkAccess method is called with this as its argument. RI does not call this method for a thread which does not run, and this seems reasonable. I suggest that drlvm would do the same. NOTE: to reproduce the bug you should comment out ThreadTest.test_suspend() which hangs now. This issue is expected to be fixed with H-1519. -- 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