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

jpackage cleanup fails on Windows with IOException deleting msi

XMLWordPrintable

    • b19
    • x86_64
    • windows_10

      When creating an "exe" installer on Windows, AbstractBundler.cleanup() calls IOUtils.deleteRecursive() to delete the tmp directory. It can intermittently fail trying to delete the msi file.
      JDK-8265078 noted that this caused large problems in the automated tests, which were addressed by modifying IOUtils.deleteRecursive() and by modifying the tests, but the underlying problem (sometimes not deleting the msi file) still exists, and should be addressed by this issue.

      This may be related to JDK-8263135 and JDK-8264551, and also may be related by running antivirus software on the system.

            ysuenaga Yasumasa Suenaga
            herrick Andy Herrick (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: