Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 8268 invoked from network); 2 Oct 2006 11:50:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Oct 2006 11:50:33 -0000 Received: (qmail 9682 invoked by uid 500); 2 Oct 2006 11:50:32 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 9646 invoked by uid 500); 2 Oct 2006 11:50:32 -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 9635 invoked by uid 99); 2 Oct 2006 11:50:32 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Oct 2006 04:50:32 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [209.237.227.198] ([209.237.227.198:52629] helo=brutus.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id F6/87-16499-80DF0254 for ; Mon, 02 Oct 2006 04:50:32 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 0DF34714310 for ; Mon, 2 Oct 2006 04:50:25 -0700 (PDT) Message-ID: <10723151.1159789825053.JavaMail.root@brutus> Date: Mon, 2 Oct 2006 04:50:25 -0700 (PDT) From: "Nikolay Kuznetsov (JIRA)" To: harmony-commits@incubator.apache.org Subject: [jira] Updated: (HARMONY-1537) Thread.currentThread().isAlive() returns false In-Reply-To: <4128952.1158916345901.JavaMail.jira@brutus> 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 [ http://issues.apache.org/jira/browse/HARMONY-1537?page=all ] Nikolay Kuznetsov updated HARMONY-1537: --------------------------------------- Attachment: HARMONY-1537_updated.patch Sorry, I've confused thread name with Thread.toString, updated patch corrects name to be compatible with Sun's jdk. And back to the question whether this patch needed at all, three was an issue to make tests pass as much as possible, while HARMONY-1582 is a long discussion, this one will help, I hope. > Thread.currentThread().isAlive() returns false > ---------------------------------------------- > > Key: HARMONY-1537 > URL: http://issues.apache.org/jira/browse/HARMONY-1537 > Project: Harmony > Issue Type: Bug > Components: DRLVM > Reporter: Elena Semukhina > Attachments: HARMONY-1537.patch, HARMONY-1537_updated.patch > > > Kernel unit test ThreadTest.testIsAliveCurrent() fails now because of Thread.currentThread().isAlive() returns false. > The following test case reproduces the issue: > public class Test { > public static void main(String[] args) { > System.out.println("true = " + Thread.currentThread().isAlive()); > } > } > Only DRLVM prints "true = false" :( -- 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