Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8160221

jdk/test/java/nio/channels/FileChannel/Transfers.java leaving files behind

XMLWordPrintable

    • b128

        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.

              bpb Brian Burkhalter
              tbell Tim Bell
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: