Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      windows

      Description

      On Windows, in samevm mode, the cleanup of files in the scratch directory may fail because the files are still open.
      Closing of FileInputStream and FileOutputStreams (that are not closed explicitly) are handled by either finalization or the Cleaner. Both are dependent on the running of System.gc().
      Invoking System.gc as part of the cleanup will close streams and allow the files to be deleted.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                rriggs Roger Riggs
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: