On Tue, 23 Feb 2021 19:24:31 GMT, Alan Bateman <al...@openjdk.org> wrote:
> This function is "optionally report, optionally fclose, and then exit". Have > you tried reducing it to reportAndExit and fclose inline in expandArgFile to > avoid it doing 3 things? hi Alan , thanks for your remark , I did not do that because I would need to copy both lines (fclose + exit) to all callers. On the other hand I wonder - wouldn't it be possible to avoid the fclose before the exit(1) ? I assume the closing is done on exit anyway ? ------------- PR: https://git.openjdk.java.net/jdk/pull/2692