Skip to content

Forward more methods to underlying InputStream in NonClosingInputStream #34893

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

kilink
Copy link
Contributor

@kilink kilink commented May 13, 2025

NonClosingInputStream extends FilterInputStream, which does not forward some newer InputStream methods such as transferTo and readAllBytes. Specific InputStream implementations may have more optimized methods (e.g., FileInputStream).

NonClosingInputStream extends FilterInputStream, which does not forward some
newer InputStream methods such as transferTo and readAllBytes. Specific InputStream
implementations may have more optimized methods (e.g., FileInputStream).

Signed-off-by: Patrick Strawderman <pstrawderman@netflix.com>
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label May 13, 2025
@bclozel bclozel added in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels May 14, 2025
@bclozel bclozel added this to the 6.2.7 milestone May 14, 2025
@bclozel bclozel self-assigned this May 14, 2025
@bclozel bclozel closed this in 37ecdd1 May 14, 2025
@bclozel
Copy link
Member

bclozel commented May 14, 2025

Thanks @kilink , this will be in the next maintenance release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants