-
Enhancement
-
Resolution: Unresolved
-
P4
-
None
-
None
Several tests rely on file system delete semantics (Windows) or the /proc filesystem (Linux) to verify the open status of files opened and closed during the test.
These mechanisms are blunt, it would be better to have a dedicated API in the test library for verifying that files opened using APIs such as FileInputStream, RandomAccessFile and FileChannel are in an open or closed state.
These mechanisms are blunt, it would be better to have a dedicated API in the test library for verifying that files opened using APIs such as FileInputStream, RandomAccessFile and FileChannel are in an open or closed state.
- links to
-
Review(master) openjdk/jdk/22343