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

com/sun/net/httpserver/Test9a.java failed on windows trying to delete file: java.nio.file.FileSystemException: The process cannot access the file because it is being used by another process

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 25
    • core-libs

      java.nio.file.FileSystemException: testoutput\\test-support\\jtreg_open_test_jdk_tier2_part3\\scratch\\3\\com.sun.net.httpserver-Test9a-6983676478347610008.tmp: The process cannot access the file because it is being used by another process
      at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:92)
      at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
      at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
      at java.base/sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269)
      at java.base/sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:105)
      at java.base/java.nio.file.Files.delete(Files.java:1052)
      at Test9a.main(Test9a.java:118)

            msheppar Mark Sheppard
            dfuchs Daniel Fuchs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: