JDK-8320971 : Use BufferedInputStream.buf directly when param of implTransferTo() is trusted
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.io
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2023-11-29
  • Updated: 2024-01-08
  • Resolved: 2024-01-02
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 23
23 b04Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
For OutputStreams residing in java.io we can skip copying of byte[] in BufferedInputStream.implTransferTo()
Comments
Changeset: 38042ad4 Author: Sergey Tsypanov <stsypanov@openjdk.org> Committer: Brian Burkhalter <bpb@openjdk.org> Date: 2024-01-02 20:05:31 +0000 URL: https://git.openjdk.org/jdk/commit/38042ad4e9b57d79cd795fd22d31be63924e34c5
02-01-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/16879 Date: 2023-11-29 11:57:37 +0000
29-11-2023