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

RuntimeException: Test failed: should have been able to create FileHandler for %t/writable-dir/log.log in writable directory.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • 9
    • 9
    • core-libs

      ----------System.err:(25/2152)*----------
      java.lang.RuntimeException: Test failed: should have been able to create FileHandler for %t/writable-dir/log.log in writable directory.
      at CheckLockLocationTest.runTests(CheckLockLocationTest.java:79)
      at CheckLockLocationTest.main(CheckLockLocationTest.java:64)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62)
      at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:533)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
      at java.lang.Thread.run(java.base@9-internal/Thread.java:843)
      Caused by: java.nio.file.AccessDeniedException: C:\\cygwin\\tmp\\writable-dir\\log.log.lck
      at sun.nio.fs.WindowsException.translateToIOException(java.base@9-internal/WindowsException.java:89)
      at sun.nio.fs.WindowsException.rethrowAsIOException(java.base@9-internal/WindowsException.java:103)
      at sun.nio.fs.WindowsException.rethrowAsIOException(java.base@9-internal/WindowsException.java:108)
      at sun.nio.fs.WindowsFileSystemProvider.newFileChannel(java.base@9-internal/WindowsFileSystemProvider.java:116)
      at java.nio.channels.FileChannel.open(java.base@9-internal/FileChannel.java:287)
      at java.nio.channels.FileChannel.open(java.base@9-internal/FileChannel.java:335)
      at java.util.logging.FileHandler.openFiles(java.logging@9-internal/FileHandler.java:511)
      at java.util.logging.FileHandler.<init>(java.logging@9-internal/FileHandler.java:307)
      at CheckLockLocationTest.runTests(CheckLockLocationTest.java:77)

            dfuchs Daniel Fuchs
            jprovino Joseph Provino (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: