Skip to content

Commit 9f35b5e

Browse files
author
Andrew Lu
committed
8336301: test/jdk/java/nio/channels/AsyncCloseAndInterrupt.java leaves around a FIFO file upon test completion
Backport-of: ae9f318fc35eeab497e546ebab9faed6ec774ec5
1 parent b67266a commit 9f35b5e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/jdk/java/nio/channels/AsyncCloseAndInterrupt.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ private static void initFile() throws Exception {
129129
return;
130130
}
131131
fifoFile = new File("x.fifo");
132+
fifoFile.deleteOnExit();
132133
if (fifoFile.exists()) {
133134
if (!fifoFile.delete())
134135
throw new IOException("Cannot delete existing fifo " + fifoFile);

0 commit comments

Comments
 (0)