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

Method File.deleteOnExit() does not work on Windows JDK 1.4 build #92.

XMLWordPrintable

    • x86
    • windows_2000

      JDK 1.4 build #92 for Windows operating system

      Description:
      ============
      File.deleteOnExit() method does not delete the file when virtual machine is exited. Take a look at attachment what I mean.

      Steps to reproduce:
      ===================
      1. Compile the attached Java class and run using JDK 1.4 b92 twice.
      2. You will see a warning message because C:\test.txt file was not deleted after
         the first execution.

            kkladkosunw Konstantin Kladko (Inactive)
            jkovalsk Jirí Kovalský
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: