Skip to content

Comments

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

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

HBX-3313: Fix file handle leaks that cause test failures on Windows#6243
koentsje merged 1 commit intohibernate:6.5from
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 24cd489 into hibernate:6.5 Feb 18, 2026
5 checks passed
@koentsje koentsje deleted the HBX-3313 branch February 18, 2026 10:13
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