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

jdk/nio/zipfs/MultiReleaseJarTest.java test fails after JDK-8176709

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b162
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Not verified

      Backports

        Description

        The test fails with the following output:

        [TestNG] Running:
          jdk/nio/zipfs/MultiReleaseJarTest.java

        config MultiReleaseJarTest.initialize(): success
        test MultiReleaseJarTest.testIntegers(-5, 8): success
        test MultiReleaseJarTest.testIntegers(0, 8): success
        test MultiReleaseJarTest.testIntegers(8, 8): success
        test MultiReleaseJarTest.testIntegers(9, 9): success
        test MultiReleaseJarTest.testIntegers(10, 10): success
        test MultiReleaseJarTest.testIntegers(11, 10): success
        test MultiReleaseJarTest.testIntegers(100, 10): success
        test MultiReleaseJarTest.testIsMultiReleaseJar(): failure
        java.lang.AssertionError: expected [true] but found [false]
        at org.testng.Assert.fail(Assert.java:94)
        at org.testng.Assert.failNotEquals(Assert.java:496)
        at org.testng.Assert.assertTrue(Assert.java:42)
        at org.testng.Assert.assertTrue(Assert.java:52)
        at MultiReleaseJarTest.testCustomMultiReleaseValue(MultiReleaseJarTest.java:221)
        at MultiReleaseJarTest.testIsMultiReleaseJar(MultiReleaseJarTest.java:196)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:547)
        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.agent.TestNGRunner.main(TestNGRunner.java:89)
        at jdk.internal.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:547)
        at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:230)
        at java.base/java.lang.Thread.run(Thread.java:844)
        test MultiReleaseJarTest.testNewFileSystem(): success
        test MultiReleaseJarTest.testShortJar(): success
        test MultiReleaseJarTest.testStrings("runtime", 9): success
        test MultiReleaseJarTest.testStrings("-20", 8): success
        test MultiReleaseJarTest.testStrings("0", 8): success
        test MultiReleaseJarTest.testStrings("8", 8): success
        test MultiReleaseJarTest.testStrings("9", 9): success
        test MultiReleaseJarTest.testStrings("10", 10): success
        test MultiReleaseJarTest.testStrings("11", 10): success
        test MultiReleaseJarTest.testStrings("50", 10): success
        test MultiReleaseJarTest.testVersions(8, 8): success
        test MultiReleaseJarTest.testVersions(9, 9): success
        test MultiReleaseJarTest.testVersions(10, 10): success
        test MultiReleaseJarTest.testVersions(11, 10): success
        test MultiReleaseJarTest.testVersions(100, 10): success

        The test was updated in JDK-8176709 with a couple of new test cases, and testCustomMultiReleaseValue("true\rOther: value", true) fails.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                redestad Claes Redestad
                Reporter:
                asmotrak Artem Smotrakov
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: