diff options
author | Thomas Wolf <thomas.wolf@paranor.ch> | 2022-01-30 22:15:14 +0100 |
---|---|---|
committer | Thomas Wolf <thomas.wolf@paranor.ch> | 2022-01-30 22:18:30 +0100 |
commit | 4bb87a957fb252b2b1512a0aec4344f6c91fa33d (patch) | |
tree | b6adc900fbd656d44c6c64697705f3e1a6a546d0 /org.eclipse.jgit.http.test | |
parent | d4d30bc716f18daa16b77f1fb603c62e7b5449a1 (diff) | |
download | jgit-4bb87a957fb252b2b1512a0aec4344f6c91fa33d.tar.gz jgit-4bb87a957fb252b2b1512a0aec4344f6c91fa33d.zip |
ObjectWalk: close ObjectReader on close() if needed
If the walk is created via ObjectWalk(Repository), it creates a new
ObjectReader. This reader was closed only on dispose(). If such an
ObjectWalk was used in a try-with-resource statement the reader might
not get closed.
Bug: 578458
Change-Id: I1be31829dc466530f23006a53c29b657fd5fb410
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
Diffstat (limited to 'org.eclipse.jgit.http.test')
0 files changed, 0 insertions, 0 deletions