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

Better cleanup for open/test/jdk/java/lang/ProcessBuilder/DestroyTest.java

XMLWordPrintable

    • b09
    • generic
    • generic

      DestroyTest.java creates files in the default temp directory. It is making calls to deleteOnExit(), but sometimes a copy of ProcessTrap-*.sh is left behind.

      The preferred approach would be to create temporary test files under the jtreg property user.dir instead.

      During a jtreg run, user.dir has the value $PWD/JTwork/scratch

            rriggs Roger Riggs
            tbell Tim Bell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: