ADDITIONAL SYSTEM INFORMATION :
OPenJDK 11.0.6 running on RHEL 7.6
A DESCRIPTION OF THE PROBLEM :
OpenJDK 11.0.6 still contains the bug that is outlined in bug JDK-8218662. It has been fixed for 12.0.1/12.0.2 and 13.
Are there any plans to back-port this to Java 11?
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Steps are described in JDK-8218662
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
A 204 response with a "Content-Length: 0" are accepted, and do not result in an exception
ACTUAL -
An exception is thrown resulting in a failure to process the response
FREQUENCY : always