[jdk21u-dev] RFR: 6956385: URLConnection.getLastModified() leaks file handles for jar:file and file: URLs

duke duke at openjdk.org
Thu Mar 27 16:30:09 UTC 2025


On Tue, 25 Mar 2025 16:40:24 GMT, Daniel Hu <duke at openjdk.org> wrote:

> Clean backport. Fixes file handle leak if `FileURLConnection` used for `JarURLConnection`. Passes tier1 jtreg and the new test/jdk/sun/net/www/protocol/jar/FileURLConnectionLeak.java on linux x64.

@cost0much 
Your change (at version 32e2a87d8608207e12218934c3a100f5bfa378da) is now ready to be sponsored by a Committer.

-------------

PR Comment: https://git.openjdk.org/jdk21u-dev/pull/1546#issuecomment-2758656918


More information about the jdk-updates-dev mailing list