-
Bug
-
Resolution: Fixed
-
P3
-
None
-
b128
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8309593 | 8u391 | kiran kumar J | P3 | Resolved | Fixed | b01 |
FileChannel/Transfers.java creates temporary files with names like xfer.fch.1893283608643637812
cat -n jdk/test/java/nio/channels/FileChannel/Transfers.java
[...]
497 File fn = File.createTempFile("xfer.fch.", "");
498 fn.deleteOnExit();
The fn.deleteOnExit() does not seem to take effect as we have Windows build/test systems in Mach 5 with over 1500 of these files remaining.
As an additional note, the xfer.src* and xfer.tgt* files used by the same test (lines 492 ...495) are not lingering.
cat -n jdk/test/java/nio/channels/FileChannel/Transfers.java
[...]
497 File fn = File.createTempFile("xfer.fch.", "");
498 fn.deleteOnExit();
The fn.deleteOnExit() does not seem to take effect as we have Windows build/test systems in Mach 5 with over 1500 of these files remaining.
As an additional note, the xfer.src* and xfer.tgt* files used by the same test (lines 492 ...495) are not lingering.
- backported by
-
JDK-8309593 jdk/test/java/nio/channels/FileChannel/Transfers.java leaving files behind
-
- Resolved
-