harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Novodvorsky (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-3139) interrupt is not caught in condvar_wait_impl
Date Thu, 08 Feb 2007 12:14:05 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-3139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Peter Novodvorsky updated HARMONY-3139:

    Attachment: CatchInterrupt.java

Test showing the bug

> interrupt is not caught in condvar_wait_impl
> --------------------------------------------
>                 Key: HARMONY-3139
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3139
>             Project: Harmony
>          Issue Type: Bug
>          Components: Non-bug differences from RI
>            Reporter: Peter Novodvorsky
>            Priority: Minor
>         Attachments: CatchInterrupt.java
> When thread is being interrupted during after entering condvar_wait_impl and checking
INTERRUPTED flag and before waiting on condition InterruptedException is not thrown. Patch
from HARMONY-1789 could solve this issue by introducing special interrupter thread that would
wait for condition to be waited on and corresponding mutex unlocked and interrupt the thread
only after that. Patch from HARMONY-2217 removed interrupter thread.
> Salikh wrote test which shows the bug and it shows that same bug appears in Sun's JDK

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message