RFR: 8233674: JarURLConnection.getJarFile throws Exception if some process is holding the file
Masanori Yano
myano at openjdk.java.net
Fri Sep 17 08:49:43 UTC 2021
On Fri, 10 Sep 2021 09:23:52 GMT, Masanori Yano <myano at openjdk.org> wrote:
> Could you please review the 8233674 bug fixes?
> This problem is caused by the antivirus software opening the file for a short time, so CreateFile() should be retried.
Thank you for your comment. According to Microsoft KB316609, CreateFile() should be tried again a short time later. I think JarURLConnection should also be retried when antivirus software holds some files.
https://www.betaarchive.com/wiki/index.php/Microsoft_KB_Archive/316609
-------------
PR: https://git.openjdk.java.net/jdk/pull/5460
More information about the core-libs-dev
mailing list