[ http://issues.apache.org/jira/browse/HARMONY-1537?page=all ]
Nikolay Kuznetsov updated HARMONY-1537:
---------------------------------------
Attachment: HARMONY-1537.patch
Attached patch fixes this problem. Thread constructor used to initialize main thread simply
didn't set alive status.
This patch also corrects main thread's name and context class loader.
> 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
>
>
> 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
|