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

duke duke at openjdk.org
Mon Mar 31 16:28:24 UTC 2025


On Thu, 27 Mar 2025 18:43:36 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.
> 
> First commit from previous dependent backport, already merged: https://github.com/openjdk/jdk17u-dev/pull/3406

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

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

PR Comment: https://git.openjdk.org/jdk17u-dev/pull/3409#issuecomment-2766756158


More information about the jdk-updates-dev mailing list