On Wed, 13 Nov 2024 14:33:33 GMT, Daniel Fuchs <dfu...@openjdk.org> wrote:

> It would be a bug if getResponseBody().close() were not.

Sorry, my comment wasn't clear. What I meant was, I think a second call to 
`getResponseBody()` (in theory) could throw an exception if `close()` has 
already been called on the `OutputStream` returned by the previous call to 
`getResponseBody()`.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21991#discussion_r1840451330

Reply via email to