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

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

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b24

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                mseledtsov Mikhailo Seledtsov
                Reporter:
                hseigel Harold Seigel
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: