8336301: test/jdk/java/nio/channels/AsyncCloseAndInterrupt.java leaves around a FIFO file upon test completion
Reviewed-by: alanb
This commit is contained in:
parent
4166e53452
commit
ae9f318fc3
@ -155,6 +155,7 @@ public class AsyncCloseAndInterrupt {
|
||||
return;
|
||||
}
|
||||
fifoFile = new File("x.fifo");
|
||||
fifoFile.deleteOnExit();
|
||||
if (fifoFile.exists()) {
|
||||
if (!fifoFile.delete())
|
||||
throw new IOException("Cannot delete existing fifo " + fifoFile);
|
||||
|
Loading…
x
Reference in New Issue
Block a user