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

SetupExecute should cd to temp directory

XMLWordPrintable

    • b15

      Triggered by JDK-8331348, I came to the conclusion that SetupExecute should cd to a temporary directory before executing a command, and then afterwards check that it is empty, to catch any junk files created in the current directory by that command.

      Not only will it help keep the git source repo clean, such files can be a signal of a problem with the command, and they are easily missed. Now the build system can get a chance to signal to the user that something unexpected happened, and possibly even abort.

            ihse Magnus Ihse Bursie
            ihse Magnus Ihse Bursie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: