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

jshell tool: /edit with external editor leaks files in /tmp

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 10
    • 9
    • tools
    • b36

    Description

      Was: langtools/test/jdk/jshell/ToolRetainTest.java leaks files in /tmp

      langtools/test/jdk/jshell/ToolRetainTest.java leaks files in /tmp.

      If the files are being written by jshell, they should be cleaned up.

      If the files are being written by the test itself, it would be more appropriate to use the jtreg scratch directory (i.e. current directory, when test is running.)

      See attached script for running tests one at a time and checking for jshell files in /tmp.

      Attachments

        Issue Links

          Activity

            People

              rfield Robert Field (Inactive)
              jjg Jonathan Gibbons
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: