• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • None

      The class "TemporarySpaceMonitor" deletes the temporary directory specified by the java.io.tmpdir property. Usually the directory cannot be deleted because it contains files, but if the directory happens to be empty, it is deleted.

      This code is from TemporarySpaceMonitor.java:
      try {
      f = new File(System.getProperty("java.io.tmpdir"));
      // ...
      } catch (LinkageError e) {
      // pre-mustang
      return null;
      } finally {
      f.delete();
      }

      The call to f.delete() must be removed.

          [JENKINS-5642] Hudson deletes the temporary directory

          mka2 created issue -
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Andrew Bayer made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 135734 ] New: JNJira + In-Review [ 203649 ]

            Unassigned Unassigned
            mka2 mka2
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: