8065720: (ch) AbstractInterruptibleChannel.end sets interrupted to null
Reviewed-by: psandoz, chegar
This commit is contained in:
parent
95ef6e0cb2
commit
3469175a63
@ -198,7 +198,7 @@ public abstract class AbstractInterruptibleChannel
|
||||
blockedOn(null);
|
||||
Thread interrupted = this.interrupted;
|
||||
if (interrupted != null && interrupted == Thread.currentThread()) {
|
||||
interrupted = null;
|
||||
this.interrupted = null;
|
||||
throw new ClosedByInterruptException();
|
||||
}
|
||||
if (!completed && !open)
|
||||
|
Loading…
Reference in New Issue
Block a user