Skip to content

Unclosed input streams needs to be closed across different classes using Java language feature #747

Closed
alanmehio wants to merge 4 commits intoapache:masterfrom
reta:CXF-8422
Closed

Unclosed input streams needs to be closed across different classes using Java language feature #747
alanmehio wants to merge 4 commits intoapache:masterfrom
reta:CXF-8422

Conversation

@alanmehio
Copy link
Contributor

It would be good to use java language feature "try with resources" to close the input streams across different java classes.
The main purpose for doing so is to prevent possible memory leak. This pull request is triggered from the fix for
core/src/main/java/org/apache/cxf/resource/URIResolver.java

@alanmehio alanmehio closed this Feb 19, 2021
@alanmehio
Copy link
Contributor Author

Will close this. I will first start to send the improvement in a newly created JIRA as a starting point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants