harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Salikh Zakirov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-1923) [drlvm] interrupted status is not cleared after throwing InterruptedException
Date Thu, 19 Oct 2006 19:20:36 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-1923?page=comments#action_12443620 ] 
Salikh Zakirov commented on HARMONY-1923:

HARMONY-1823/interrupt_fix.patch fixes the problem, as well as some park() use case that I
didn't check.
I suggest close this issue as duplicate, and commit HARMONY-1823/interrupt_fix.patch.
Test.java from this issue can be used as a reproducer.

> [drlvm] interrupted status is not cleared after throwing InterruptedException
> -----------------------------------------------------------------------------
>                 Key: HARMONY-1923
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1923
>             Project: Harmony
>          Issue Type: Bug
>            Reporter: Salikh Zakirov
>         Attachments: HARMONY-1923.patch, Test.java
> DRLVM Thread Manager does not reset interrupted status after throwing InterruptedException,
> contrary to the specification -- javadoc of java.lang.Object.wait():
> Throws: ...
>     InterruptedException - if another thread interrupted the current thread before or
while the current thread was waiting for a notification. The interrupted status of the current
thread is cleared when this exception is thrown.
> The attached Test.java reproduces the issue.

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