Skip to content

Commit c5d2cc1

Browse files
author
Andrew Lu
committedAug 6, 2024
8336301: test/jdk/java/nio/channels/AsyncCloseAndInterrupt.java leaves around a FIFO file upon test completion
Backport-of: ae9f318fc35eeab497e546ebab9faed6ec774ec5
1 parent 7d34693 commit c5d2cc1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

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

+1
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)
Please sign in to comment.