-
Bug
-
Resolution: Fixed
-
P4
-
10
-
b01
tools/launcher/modules/addexports/manifest/AddExportsAndOpensInManifest.java fails intermittently:
test AddExportsAndOpensInManifest.testWithBadModuleOrPackage(): failure
java.nio.file.AccessDeniedException: test.jar
at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:89)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
at java.base/sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:231)
at java.base/java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:434)
at java.base/java.nio.file.Files.newOutputStream(Files.java:218)
at JarUtils.createJarFile(JarUtils.java:74)
at AddExportsAndOpensInManifest.runTest(AddExportsAndOpensInManifest.java:74)
at AddExportsAndOpensInManifest.runExpectingFail(AddExportsAndOpensInManifest.java:97)
at AddExportsAndOpensInManifest.testWithBadModuleOrPackage(AddExportsAndOpensInManifest.java:165)
test AddExportsAndOpensInManifest.testWithBadModuleOrPackage(): failure
java.nio.file.AccessDeniedException: test.jar
at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:89)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
at java.base/sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:231)
at java.base/java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:434)
at java.base/java.nio.file.Files.newOutputStream(Files.java:218)
at JarUtils.createJarFile(JarUtils.java:74)
at AddExportsAndOpensInManifest.runTest(AddExportsAndOpensInManifest.java:74)
at AddExportsAndOpensInManifest.runExpectingFail(AddExportsAndOpensInManifest.java:97)
at AddExportsAndOpensInManifest.testWithBadModuleOrPackage(AddExportsAndOpensInManifest.java:165)
- relates to
-
JDK-8166060 [testbug] java/util/zip/TestExtraTime.java fails with java.nio.file.AccessDeniedException
-
- Closed
-