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

Better cleanup for javax/imageio/AllowSearch.java

    XMLWordPrintable

Details

    • b23
    • generic
    • generic

    Backports

      Description

        AllowSearch.java creates an imageio*.tmp file in the default temp directory, but does not clean it up later.

        cat -n jdk/test/javax/imageio/AllowSearch.java
           [...]
            49 File f = File.createTempFile("imageio", ".tmp");

        A better approach would be to create temporary test files under the jtreg property user.dir instead, if it is defined.

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

        Attachments

          Issue Links

            Activity

              People

                sveerabhadra Shashidhara Veerabhadraiah (Inactive)
                tbell Tim Bell
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: