You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Salikh Zakirov (JIRA)" <ji...@apache.org> on 2006/10/19 20:37:40 UTC
[jira] Created: (HARMONY-1923) [drlvm] interrupted status is not
cleared after throwing InterruptedException
[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
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
[jira] Commented: (HARMONY-1923) [drlvm] interrupted status is not
cleared after throwing InterruptedException
Posted by "Salikh Zakirov (JIRA)" <ji...@apache.org>.
[ 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
[jira] Commented: (HARMONY-1923) [drlvm] interrupted status is not
cleared after throwing InterruptedException
Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1923?page=comments#action_12443608 ]
Gregory Shimansky commented on HARMONY-1923:
--------------------------------------------
Salikh please take a look at HARMONY-1823. Could it be that this bug is actually a duplicate of it?
> [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: 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
[jira] Closed: (HARMONY-1923) [drlvm] interrupted status is not
cleared after throwing InterruptedException
Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1923?page=all ]
Alexey Varlamov closed HARMONY-1923.
------------------------------------
Resolution: Duplicate
Closing as requested.
> [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
[jira] Updated: (HARMONY-1923) [drlvm] interrupted status is not
cleared after throwing InterruptedException
Posted by "Salikh Zakirov (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1923?page=all ]
Salikh Zakirov updated HARMONY-1923:
------------------------------------
Attachment: HARMONY-1923.patch
HARMONY-1923.patch fixes the wait() behaviour.
> [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
[jira] Updated: (HARMONY-1923) [drlvm] interrupted status is not
cleared after throwing InterruptedException
Posted by "Salikh Zakirov (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-1923?page=all ]
Salikh Zakirov updated HARMONY-1923:
------------------------------------
Attachment: Test.java
> [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: 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