reta commented on code in PR #2253: URL: https://github.com/apache/cxf/pull/2253#discussion_r1939892050
########## rt/rs/extensions/providers/src/main/java/org/apache/cxf/jaxrs/provider/json/JSONProvider.java: ########## @@ -239,8 +239,8 @@ public T readFrom(Class<T> type, Type genericType, Annotation[] anns, MediaType } else { response = checkAdapter(response, type, anns, false); } + realStream.close(); Review Comment: So this may not work: the stream is not created here and should not be closed here -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@cxf.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org