On Mon, 16 Jun 2025 11:27:54 GMT, Daniel Fuchs <dfu...@openjdk.org> wrote:
> Each new request will be submitted to the executor by the HttpServer, > therefore waiting for the executor to finish should ensure that > FileServerHandler::handle has finished, and therefore that the the file has > been closed. That's a good point (both your and Volkan's). I missed this detail when Volkan mentioned it because I focused on the part which noted the server would close the file. I will experiment with this (or a different variant that I had in mind) since it looks like the preference is to let this delete calls stay. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/25820#discussion_r2149723378