JDK 17 | JDK 21 | JDK 22 |
---|---|---|
17.0.13Fixed | 21.0.2Fixed | 22 b16Fixed |
Relates :
|
|
Relates :
|
JDK-8303942 introduced a bug in os::write() in os.cpp for handling partial write: ``` buf = (void *)((char *)buf + nBytes); ``` should be ``` buf = (void *)((char *)buf + res); ``` We observed that in JDK 21, heap dump corruption observed in JDK-8303937 happens again when writing to a socket or pipe.
|