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

Spurious failure with IOE at java.io.WinNTFileSystem.createFileExclusively

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • tbd
    • 7u40
    • javafx
    • Windows

      It occurs from time to time with potentially any test creating a temporary file and running on Windows.

      java.io.IOException: Access is denied
      at java.io.WinNTFileSystem.createFileExclusively(Native Method)
      at java.io.File.createNewFile(File.java:947)
      at com.oracle.javafx.authoring.util.IoUtilities.createNewFile(IoUtilities.java:98)
      at com.oracle.javafx.authoring.util.IoUtilities.saveUTF8(IoUtilities.java:159)
      at com.oracle.javafx.authoring.Project.save(Project.java:1116)
      at com.oracle.javafx.authoring.Project.save(Project.java:1087)
      at com.oracle.javafx.authoring.test.TestUtils.testWithTestClass(TestUtils.java:955)
      at com.oracle.javafx.authoring.persist.ProductionProjectBase.testFxmlProject(ProductionProjectBase.java:520)
      at com.oracle.javafx.authoring.persist.FxmlProjectTest.testAllFxmlFiles(FxmlProjectTest.java:252)
      at com.oracle.javafx.authoring.test.JavaFxRunner$3.call(JavaFxRunner.java:257)
      at com.oracle.javafx.authoring.test.JavaFxRunner$3.call(JavaFxRunner.java:244)
      at com.oracle.javafx.authoring.test.JavaFxRunner$7.run(JavaFxRunner.java:398)
      at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:173)
      at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
      at com.sun.glass.ui.win.WinApplication.access$100(WinApplication.java:29)
      at com.sun.glass.ui.win.WinApplication$3$1.run(WinApplication.java:73)
      at java.lang.Thread.run(Thread.java:722)

            yjoan Yves Joan (Inactive)
            yjoan Yves Joan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: