harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikolay Kuznetsov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-1648) ThreadGroup.stop() does not stop suspended group.
Date Mon, 30 Oct 2006 13:41:19 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-1648?page=all ]

Nikolay Kuznetsov updated HARMONY-1648:

    Attachment: stop.patch

Attached is a cumulative patch for recent Thread.stop issues and includes:
1) incorrect assertions removal (incorrect hysem_post error handling)
2) additional exception processing(interpreter exception processing)
3) synchronized start (start was made synchronous, i.e. when method thread.start exits it's
guaranteed that both threads are running)

Last change is probably should have been made in separate issue(according to j.l.Thread.start
specification this method should be synchronous), but since this problem has implication on
stop I also included this fix to the patch.

Since Thread.stop functionality is kind of risky I'd appreciate if reporters make some preliminary
testing on this patch.

> ThreadGroup.stop() does not stop suspended group.
> -------------------------------------------------
>                 Key: HARMONY-1648
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1648
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Elena Semukhina
>         Attachments: stop.patch, ThreadSuspend.java
> If a ThreadGroup contains a few threads and is suspended, then ThreadGroup.stop() does
not stop this group. 
> The classlib test org.apache.harmony.luni.tests.java.lang.ThreadGroupTest.test_suspend
can be used for verification of this bug after HARMONY-1625 is committed.
> To start working on this bug fixing, I'll attach a standalone test.

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


View raw message