Skip to content

Comments

HBX-3313: Fix file handle leaks that cause test failures on Windows#6250

Merged
koentsje merged 1 commit intohibernate:5.3from
koentsje:HBX-3313
Feb 19, 2026
Merged

HBX-3313: Fix file handle leaks that cause test failures on Windows#6250
koentsje merged 1 commit intohibernate:5.3from
koentsje:HBX-3313

Conversation

@koentsje
Copy link
Member

  • Use try-with-resources for InputStream in ResourceUtil.createResources()
  • Use try-with-resources for BufferedReader in FileUtil.findFirstString()

  - Use try-with-resources for InputStream in ResourceUtil.createResources()
  - Use try-with-resources for BufferedReader in FileUtil.findFirstString()

Signed-off-by: Koen Aers <koen.aers@gmail.com>
@koentsje koentsje merged commit 608882e into hibernate:5.3 Feb 19, 2026
5 checks passed
@koentsje koentsje deleted the HBX-3313 branch February 19, 2026 12:48
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.

1 participant