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

[TESTBUG] several jfr tests do not clean up files created in /tmp

XMLWordPrintable

    • jfr
    • b24

        Test TestJcmdConfigure.java creates a temporary directory by calling Files.createTempDirectory("dump-path"), but does not delete the directory when it finishes.

        Similarly, test TestJavaEvent.java creates a temporary file by calling File.createTempFile("test", ".jfr"), but does not delete the file when it finishes.

        Both tests should call File.deleteOnExit() to clean up the temporary directory and file.

              mseledtsov Mikhailo Seledtsov
              hseigel Harold Seigel (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: