> Am 31.05.2018 um 20:41 schrieb Alan Bateman <alan.bate...@oracle.com>:
>
>
>
>> On 31/05/2018 18:08, Norman Maurer wrote:
>> :
>>> [1] https://bugs.openjdk.java.net/browse/JDK-8203937
>> Also let me know if you need anything else or want me to test something
>>
> I saw your other mail where you posted a link to giithub. I should have
> replied to ask you to attach the test so that it comes via OpenJDK
> infrastructure.
>
> In any case, I was able to create another test case to demonstrate the
> behavior difference between JDK 10 and 11 and I've attached it to the bug.
> It's as you described: the connection reset is detected when writing and a
> subsequent reading fails eagerly when you expect to first consume any bytes
> that may have been received before the connection was reset. The behavior
> change is specific to Linux, it doesn't happen on macOS as the error is
> reported as a pipe write error; On Windows it consistently reports an error
> after the reset is detected so I doubt the test case ever passed there.
>
> In summary, there is a behavior change, at least on Linux and I have a patch
> to restore the old behavior, it just unspecified behavior and not something
> that anything could really rely on.
>
> -Alan
>
Yeah we only ran the test on Linux and MacOS so no idea about Windows here .
Thanks for taking care, I will check and keep track of the issue.
Bye
Norman