[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cp-patches] [Fwd: Your Report (Review ID: 363752) - Thread.sleep(0)
From: |
Mark Wielaard |
Subject: |
Re: [cp-patches] [Fwd: Your Report (Review ID: 363752) - Thread.sleep(0) fails to detect interrrupted status] |
Date: |
Fri, 31 Dec 2004 12:03:28 +0100 |
Hi,
On Thu, 2004-12-30 at 11:48 -0600, Archie Cobbs wrote:
> EXPECTED VERSUS ACTUAL BEHAVIOR :
> EXPECTED -
> InterruptedException thrown
> ACTUAL -
> No exception thrown.
>
> REPRODUCIBILITY :
> This bug can be reproduced always.
>
> ---------- BEGIN SOURCE ----------
>
> public class zz {
> public static void main(String[] args) throws Exception {
> Thread.currentThread().interrupt();
> Thread.sleep(0, 0);
> }
> }
>
> ---------- END SOURCE ----------
Thanks. I added this and some variants to the Thread.sleep tests in
mauve.
Cheers,
Mark
signature.asc
Description: This is a digitally signed message part