JDK-8293502 : (fc) FileChannel::transfer methods fail to copy /proc files on Linux
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.nio
  • Affected Version: 20
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux
  • Submitted: 2022-09-07
  • Updated: 2022-09-28
  • Resolved: 2022-09-19
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 20
20 b16Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
FileChannel.transferTo(position, count, target) fails to transfer any bytes when the source FileChannel is a file in /proc, and FileChannel.transferFrom(src, position, count) fails to transfer any bytes when src is a file in /proc.
Comments
Changeset: 6e23b432 Author: Brian Burkhalter <bpb@openjdk.org> Date: 2022-09-19 15:57:06 +0000 URL: https://git.openjdk.org/jdk/commit/6e23b43220a25532029a1d6b986a2249dd4e0e03
19-09-2022

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/10267 Date: 2022-09-14 16:00:17 +0000
14-09-2022