On Wed, 29 Sep 2021 19:24:36 GMT, Michael McMahon <micha...@openjdk.org> wrote:
>> Hi @Michael-Mc-Mahon , In my understanding purpose of this block is to >> return a file with no contents.(Empty file). > > I think it would be simpler to replace lines 101-103 just with `trans.close()` Strictly speaking to preserve the current behavior - that would be `trans.getResponseBody().close();` isn't it? ------------- PR: https://git.openjdk.java.net/jdk/pull/5352