Skip to content

Commit

Permalink
8336301: test/jdk/java/nio/channels/AsyncCloseAndInterrupt.java leave…
Browse files Browse the repository at this point in the history
…s around a FIFO file upon test completion

Backport-of: ae9f318fc35eeab497e546ebab9faed6ec774ec5
  • Loading branch information
Andrew Lu committed Aug 5, 2024
1 parent 66fa756 commit 37726c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/jdk/java/nio/channels/AsyncCloseAndInterrupt.java
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ private static void initFile() throws Exception {
return;
}
fifoFile = new File("x.fifo");
fifoFile.deleteOnExit();
if (fifoFile.exists()) {
if (!fifoFile.delete())
throw new IOException("Cannot delete existing fifo " + fifoFile);
Expand Down

0 comments on commit 37726c5

Please sign in to comment.