-
Bug
-
Resolution: Fixed
-
P3
-
9-repo-jigsaw
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)
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)
- relates to
-
JDK-8150975 tools/jimage/JImageToolTest.java failed on Linux 32 bit environment
- Closed