Skip to content

Comments

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

Merged
koentsje merged 1 commit intohibernate:mainfrom
koentsje:HBX-3313
Feb 17, 2026
Merged

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

Conversation

@koentsje
Copy link
Member

@koentsje koentsje commented Feb 12, 2026

  • 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 changed the title HBX-3313: trial HBX-3313: Fix file handle leaks that cause test failures on Windows Feb 17, 2026
@koentsje koentsje merged commit db3485a into hibernate:main Feb 17, 2026
5 checks passed
@koentsje koentsje deleted the HBX-3313 branch February 17, 2026 16:17
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