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 6, 2024
1 parent 7d34693 commit c5d2cc1
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

1 comment on commit c5d2cc1

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.