RFR: 8327095: (ch) java/nio/channels/AsyncCloseAndInterrupt.java: improve error message when mkfifo fails

Brian Burkhalter bpb at openjdk.org
Thu Feb 29 23:53:14 UTC 2024


Add to the error message of the `IOException` thrown when the `mkfifo` command fails:

1. the absolute path of the FIFO which was to have been created;
2. the text read from the standard error stream of the process in which `mkfifo` was executed.

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

Commit messages:
 - 8327095: (ch) java/nio/channels/AsyncCloseAndInterrupt.java: improve error message when mkfifo fails

Changes: https://git.openjdk.org/jdk/pull/18072/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18072&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8327095
  Stats: 10 lines in 1 file changed: 6 ins; 1 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/18072.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18072/head:pull/18072

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


More information about the nio-dev mailing list