JDK 9 RFR of JDK-8174960: Mark WakeupAfterClose.java as failing intermittentl

Roger Riggs Roger.Riggs at Oracle.com
Tue Feb 14 20:16:36 UTC 2017


+1

Thanks joe

On 2/14/2017 3:01 PM, joe darcy wrote:
> Hello,
>
> The test
>
> java/nio/channels/Selector/WakeupAfterClose.java
>
> has been seen to fail intermittently at a low frequency (JDK-8143614).
>
> The test should be marked accordingly; patch below.
>
> Thanks,
>
> -Joe
>
> --- a/test/java/nio/channels/Selector/WakeupAfterClose.java Mon Feb 13 
> 11:35:00 2017 -0500
> +++ b/test/java/nio/channels/Selector/WakeupAfterClose.java    Tue Feb 
> 14 12:01:03 2017 -0800
> @@ -1,5 +1,5 @@
>  /*
> - * Copyright (c) 2007, Oracle and/or its affiliates. All rights 
> reserved.
> + * Copyright (c) 2007, 2017, Oracle and/or its affiliates. All rights 
> reserved.
>   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
>   *
>   * This code is free software; you can redistribute it and/or modify it
> @@ -24,6 +24,7 @@
>  /* @test
>   * @bug 6524172
>   * @summary Invoking wakeup on closed Selector can throw NPE if close 
> resets interrupt status
> + * @key intermittent
>   */
>
>  import java.nio.channels.Selector;
>



More information about the core-libs-dev mailing list