Skip to content

Commit

Permalink
Merge pull request #3828 from jamezp/RESTEASY-3397-6.2
Browse files Browse the repository at this point in the history
[RESTEASY-3397] Ensure the InputStream for the JsonBindingProvider do…
  • Loading branch information
jamezp committed Oct 10, 2023
2 parents d45dba5 + 579ae1f commit 8286254
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,9 @@ public int available() throws IOException {
}

@Override
public void close() throws IOException {
delegate.close();
public void close() {
// Do not close the stream as per the Jakarta REST specification, currently 3.1, the stream being used
// must not be closed in a MessageBodyReader.
}

@Override
Expand Down

0 comments on commit 8286254

Please sign in to comment.