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

jdk/test/java/io/Reader/ReaderBulkReadContract.java should clean up better

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b127
    • CPU:
      x86
    • OS:
      windows_2012

      Description

      jdk/test/java/io/Reader/ReaderBulkReadContract.java is leaving files with names like ReaderContract100190835541748790 in /cygdrive/c/temp

      The file is created here:
      cat -n jdk/test/java/io/Reader/ReaderBulkReadContract.java
         [...]
         151 File file = File.createTempFile("ReaderContract", "");

      but the code does not call file.deleteOnExit() or take other steps to remove the file when finished.

        Attachments

          Activity

            People

            Assignee:
            bpb Brian Burkhalter
            Reporter:
            tbell Tim Bell
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: