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

Reviewed-by: alanb
  • Loading branch information
jaikiran committed Jul 13, 2024
1 parent 4166e53 commit ae9f318
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 @@ -155,6 +155,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 ae9f318

@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.