Skip to content

Comments

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

Merged
koentsje merged 1 commit intohibernate:5.6from
koentsje:HBX-3313
Feb 18, 2026
Merged

HBX-3313: Fix file handle leaks that cause test failures on Windows#6248
koentsje merged 1 commit intohibernate:5.6from
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 98d6224 into hibernate:5.6 Feb 18, 2026
5 checks passed
@koentsje koentsje deleted the HBX-3313 branch February 18, 2026 16:18
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