RFR: 8359477: com/sun/net/httpserver/Test12.java appears to have a temp file race [v3]
Jaikiran Pai
jpai at openjdk.org
Tue Jul 1 07:52:42 UTC 2025
On Tue, 1 Jul 2025 07:28:38 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:
> I have been running some experiments to make this test fail more consistently by introducing artificial delays at the right places. So far i haven't managed to make it fail. So I'm going to take a step back and re-review my theory about why this is failing. I will get back to this once I have additional details to share.
Spoke a minute or so soon. I have now managed to reproduce this issue with an artificial delay in closing the `FileInputStream` in the test's `FileServerHandler`. It now matches the reason that I noted in the JBS issue's comment https://bugs.openjdk.org/browse/JDK-8359477?focusedId=14789850&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-14789850
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25820#issuecomment-3022372810
More information about the net-dev
mailing list