Integrated: 8293502: (fc) FileChannel::transfer methods fail to copy /proc files on Linux
Brian Burkhalter
bpb at openjdk.org
Mon Sep 19 16:00:54 UTC 2022
On Wed, 14 Sep 2022 16:00:17 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
> Files in `/proc` advertise a size of zero for which direct and mapped transfers do not work. For this case, fall back to arbitrary channel transfer.
This pull request has now been integrated.
Changeset: 6e23b432
Author: Brian Burkhalter <bpb at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/6e23b43220a25532029a1d6b986a2249dd4e0e03
Stats: 206 lines in 2 files changed: 192 ins; 0 del; 14 mod
8293502: (fc) FileChannel::transfer methods fail to copy /proc files on Linux
Reviewed-by: alanb
-------------
PR: https://git.openjdk.org/jdk/pull/10267
More information about the nio-dev
mailing list