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

tools/jimage/JImageTest.java fails with AccessDeniedException

    Details

      Description

      jdk/jigsaw/tools/jimage/JImageTest.java fails with java.nio.file.AccessDeniedException on windows.

      java.nio.file.AccessDeniedException: C:\JTwork\scratch_1\recreated\modules.extracted.jimage -> C:\JTwork\scratch_1\images\mod1.image\lib\modules
      at sun.nio.fs.WindowsException.translateToIOException(java.base@9-internal/WindowsException.java:83)
      at sun.nio.fs.WindowsException.rethrowAsIOException(java.base@9-internal/WindowsException.java:97)
      at sun.nio.fs.WindowsFileCopy.copy(java.base@9-internal/WindowsFileCopy.java:205)
      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:1275)
      at JImageTest.main(JImageTest.java:122)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62)
      at sun.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:804)
       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sundar Sundararajan Athijegannathan
                Reporter:
                mchung Mandy Chung
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: