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

Test7068051.java gets AccessDeniedException

    Details

      Description

      java.lang.AssertionError: TESTBUG: Creating temp files failed.
      at Test7068051.createTestJarFile(Test7068051.java:117)
      at Test7068051.main(Test7068051.java:60)
      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:531)
      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:\\Users\\aurora\\CommonData\\j2se_jdk\\hotspot\\test\\compiler\\c2\\7068051\\Test7068051.java -> .\\Test70680512758269768972054330.java
      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.WindowsFileCopy.copy(java.base@9-internal/WindowsFileCopy.java:203)
      at sun.nio.fs.WindowsFileSystemProvider.copy(java.base@9-internal/WindowsFileSystemProvider.java:279)
      at java.nio.file.Files.copy(java.base@9-internal/Files.java:1277)
      at Test7068051.createTestJarFile(Test7068051.java:113)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jprovino Joseph Provino (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: