git: openjdk/jdk11u-dev: 8053479: (dc) DatagramChannel.read() throws exception instead of discarding data when buffer too small

Severin Gehwolf sgehwolf at openjdk.org
Tue Nov 28 13:45:07 UTC 2023


Changeset: f65058ef
Author:    Kangcheng Xu <kxu at openjdk.org>
Committer: Severin Gehwolf <sgehwolf at openjdk.org>
Date:      2023-11-28 13:43:24 +0000
URL:       https://git.openjdk.org/jdk11u-dev/commit/f65058efd6b174406bc7459fc1fcc56c2bfe734e

8053479: (dc) DatagramChannel.read() throws exception instead of discarding data when buffer too small

Backport-of: 6ef474a4f4cfacc12db5e349c419fa4b41b346aa

! src/java.base/unix/native/libnio/ch/DatagramDispatcher.c
! src/java.base/windows/native/libnio/ch/DatagramDispatcher.c
+ test/jdk/java/nio/channels/DatagramChannel/Truncate.java



More information about the jdk-updates-changes mailing list