On Sat, 23 Nov 2024 15:47:53 GMT, Eirik Bjørsnøs <eir...@openjdk.org> wrote:
> Please review this PR which adds a utility API in the test libraries to > assert whether a file is currently open. > > Several OpenJDK tests currently rely on approximations to check this, > including deletion (fails only on Windows), or checking `/proc/<pid>/fd` > (Works only on Linux). These approximations are blunt instruments, it would > be better to have an exact cross platform solution for this need to check if > a file is open or closed. > > Verification: With `OpenFilesTest` temporarily in tier1, GHA completed > successfully across platforms. This pull request has been closed without being integrated. ------------- PR: https://git.openjdk.org/jdk/pull/22343