RFR: 8336301: test/jdk/java/nio/channels/AsyncCloseAndInterrupt.java leaves around a FIFO file upon test completion

Jaikiran Pai jpai at openjdk.org
Fri Jul 12 12:00:01 UTC 2024


Can I please get a review of this test-only change which proposes to address the issue noted in https://bugs.openjdk.org/browse/JDK-8336301?

The update in this PR, marks the FIFO file to be deleted upon JVM exit so that it isn't left around causing any subsequent process reading that file to block forever.

After this change, I've locally verified that this file isn't left around irrespective of whether or not the test passes.

The test continues to pass with this change. tier2 testing with this change is currently in progress.

-------------

Commit messages:
 - 8336301: test/jdk/java/nio/channels/AsyncCloseAndInterrupt.java leaves around a FIFO file upon test completion

Changes: https://git.openjdk.org/jdk/pull/20156/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20156&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8336301
  Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/20156.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/20156/head:pull/20156

PR: https://git.openjdk.org/jdk/pull/20156


More information about the nio-dev mailing list