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

(fs) Tests in jdk/test/java/nio/file/WatchService leave directory trees behind

XMLWordPrintable

    • b129
    • x86
    • windows_2012

        These jtreg tests create temp directories with names like work3788198632550491323

        ./jdk/test/java/nio/file/WatchService/DeleteInterference.java: Path dir = Files.createTempDirectory("work");

        ./jdk/test/java/nio/file/WatchService/LotsOfCancels.java: Path top = Files.createTempDirectory("work");

        It would be preferred if the directories or files created could be cleaned up at the end of the test run.

        Some of our Windows test systems in mach 5 have over 25,000 files of this type in /cygdrive/c/temp

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

                Created:
                Updated:
                Resolved: