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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 10
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      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

              • Assignee:
                rfield Robert Field
                Reporter:
                jjg Jonathan Gibbons
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: