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

java.io.File.deleteOnExit not working on Windows NT

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 1.1.3, 1.4.0, 1.4.0_01
    • Fix Version/s: 1.3.1_04
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      04
    • CPU:
      x86
    • OS:
      windows_nt, windows_2000

      Backports

        Description

        ###@###.### 2001-12-14

        Problem description:
        ---------------------
        Bug4491311 or 4310747 temporary font files not be deleted problem
        comes back again which was fixed previously. Now CAP member's app
        is more complex it appears that the temporary file containing a
        font loaded dynamically with CreateFont is no longer being deleted.

        J2SE Version:
        ---------------
        Merlin beta3(build84) and build88.

        Platform information:
        ----------------------
        You can see the temporary file remains in Temp folder on WinNT machine.
        For Win2K machine, I can not find any temporary files been created.

        Step to reproduces the problem:
        --------------------------------

        Launch the application running with Java WebStart from the following URL:

        http://213.132.42.90/quranonline.htm then click on the Arabic word on the right of the central picture.

        When it launches a copy of the font is saved to a temporary file called something like "+~JF25147.tmp" in the Temp folder. When the application quits this temp file should be deleted but it remains there. Tried a simpler application and the problem does not happen.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mr Mark Reinhold
                  Reporter:
                  tyao Ting-Yun Ingrid Yao (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: