On 30/06/2026 20:08, Rémy Maucherat wrote:
On Tue, Jun 30, 2026 at 7:30 PM <[email protected]> wrote:
This is an automated email from the ASF dual-hosted git repository.
markt-asf pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push:
new bc50b30af9 Restore fd leak protection
bc50b30af9 is described below
commit bc50b30af92cbc011c1bf27a54497daa9477bcd1
Author: Mark Thomas <[email protected]>
AuthorDate: Tue Jun 30 18:30:04 2026 +0100
Restore fd leak protection
Ok, maybe I forgot this, since it looks really broken.
Maybe we can do something like try (InputStream) {
uc.getLastModified(); } to make it a bit better ?
No objections if you want to refactor it. I have a vague memory of
trying to do that previously and deciding I couldn't quite do what I
wanted with try with resources.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]