Skip to content
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

[ISSUE-5881] Fix FileOutputStream not close automatically #6135

Conversation

wallezhang
Copy link
Contributor


This PR has:

  • been self-reviewed.
    • concurrent read
    • concurrent write
    • concurrent read and write

Close #5881


Key changed/added classes (or packages if there are too many classes) in this PR

@wallezhang
Copy link
Contributor Author

TBR

@wallezhang wallezhang changed the title [IOTDB-5881] Fix FileOutputStream not close automatically [ISSUE-5881] Fix FileOutputStream not close automatically Jun 1, 2022
Copy link
Member

@qiaojialin qiaojialin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@qiaojialin qiaojialin merged commit 117f4d4 into apache:master Jun 2, 2022
@wallezhang wallezhang deleted the fix-FileOutputStream-not-close-automatically branch June 2, 2022 01:47
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.

Use try-with-resources or close this "FileOutputStream" in a "finally" clause.
2 participants