Withdrawn: 8344911: Introduce test utility for asserting file open status

duke duke at openjdk.org
Fri Mar 21 23:56:18 UTC 2025


On Sat, 23 Nov 2024 15:47:53 GMT, Eirik Bjørsnøs <eirbjo at 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


More information about the core-libs-dev mailing list