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

MultiReleaseJarAPI.isMultiReleaseJar(): failure java.nio.file.AccessDeniedException: custom-mr.jar

    Details

    • Subcomponent:
    • Resolved In Build:
      b139
    • Verification:
      Not verified

      Description

      config MultiReleaseJarAPI.initialize(): success
      test MultiReleaseJarAPI.isMultiReleaseJar(): failure
      java.nio.file.AccessDeniedException: custom-mr.jar
      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.WindowsException.rethrowAsIOException(java.base@9-internal/WindowsException.java:108)
      at sun.nio.fs.WindowsFileSystemProvider.newByteChannel(java.base@9-internal/WindowsFileSystemProvider.java:231)
      at java.nio.file.spi.FileSystemProvider.newOutputStream(java.base@9-internal/FileSystemProvider.java:434)
      at java.nio.file.Files.newOutputStream(java.base@9-internal/Files.java:218)
      at JarBuilder.build(JarBuilder.java:57)
      at CreateMultiReleaseTestJars.buildCustomMultiReleaseJar(CreateMultiReleaseTestJars.java:116)
      at MultiReleaseJarAPI.testCustomMultiReleaseValue(MultiReleaseJarAPI.java:139)
      at MultiReleaseJarAPI.isMultiReleaseJar(MultiReleaseJarAPI.java:124)
      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:535)
      at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
      at org.testng.internal.Invoker.invokeMethod(Invoker.java:639)
      at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:821)
      at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1131)
      at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)
      at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
      at org.testng.TestRunner.privateRun(TestRunner.java:773)
      at org.testng.TestRunner.run(TestRunner.java:623)
      at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
      at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
      at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
      at org.testng.SuiteRunner.run(SuiteRunner.java:259)
      at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
      at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
      at org.testng.TestNG.runSuitesSequentially(TestNG.java:1185)
      at org.testng.TestNG.runSuitesLocally(TestNG.java:1110)
      at org.testng.TestNG.run(TestNG.java:1018)
      at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:220)
      at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:184)
      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:535)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
      at java.lang.Thread.run(java.base@9-internal/Thread.java:843)

        Attachments

          Activity

            People

            • Assignee:
              redestad Claes Redestad
              Reporter:
              jprovino Joseph Provino (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: