[jdk11u-dev] Integrated: 8053479: (dc) DatagramChannel.read() throws exception instead of discarding data when buffer too small
Kangcheng Xu
kxu at openjdk.org
Tue Nov 28 13:46:26 UTC 2023
On Wed, 22 Nov 2023 15:16:45 GMT, Kangcheng Xu <kxu at openjdk.org> wrote:
> A clean backport of [JDK-8053479](https://bugs.openjdk.org/browse/JDK-8053479)
>
> This is a Windows-only issue. The corresponding test is NOT part of `tier1` that's automatically verified by GHA. The following shows the test
> - fails without the patch: https://github.com/tabjy/jdk11u-ci/actions/runs/6946796354/job/18900472321
> - passes with the patch: https://github.com/tabjy/jdk11u-ci/actions/runs/6946228725/job/18903238261
>
> One can verify locally with `make run-test-prebuilt TEST='test/jdk/java/nio/channels/DatagramChannel/Truncate.java' ...`
This pull request has now been integrated.
Changeset: f65058ef
Author: Kangcheng Xu <kxu at openjdk.org>
Committer: Severin Gehwolf <sgehwolf at openjdk.org>
URL: https://git.openjdk.org/jdk11u-dev/commit/f65058efd6b174406bc7459fc1fcc56c2bfe734e
Stats: 202 lines in 3 files changed: 157 ins; 17 del; 28 mod
8053479: (dc) DatagramChannel.read() throws exception instead of discarding data when buffer too small
Backport-of: 6ef474a4f4cfacc12db5e349c419fa4b41b346aa
-------------
PR: https://git.openjdk.org/jdk11u-dev/pull/2291
More information about the jdk-updates-dev
mailing list