mkarg opened a new pull request #52: JOHNZON-281 JAX-RS Provider MUST throw NoContentException URL: https://github.com/apache/johnzon/pull/52 The Johnzon JAX-RS Provider throws the wrong exception type in case of reading empty input streams. JAX-RS 2.1 requires to throw **NoContentException**, but Johnzon throws **JsonbException**. See JavaDocs of JAX-RS 2.1 MessageBodyReader: _"In case the entity input stream is empty, the reader is expected to either return a Java representation of a zero-length entity or throw a javax.ws.rs.core.NoContentException in case no zero-length entity representation is defined for the supported Java type."_
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services