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

tools launcher test AddExportsAndOpensInManifest.java fails intermittently: AccessDeniedException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 11
    • 10
    • tools
    • 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)

            anazarov Andrey Nazarov (Inactive)
            amlu Amy Lu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: