NoPersistenceCachingTest fails with ant test

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 8u20, 9
    • Component/s: core-libs
    • b08
    • generic
    • generic

        Following tests cases fail when running via ant.
        jdk.nashorn.internal.runtime.NoPersistenceCachingTest::threeContextTest
        jdk.nashorn.internal.runtime.NoPersistenceCachingTest::twoContextTest

        <testcase name="twoContextTest" time="0.023" classname="jdk.nashorn.internal.runtime.NoPersistenceCachingTest">
            <error type="java.lang.AssertionError" message="Number of cache hit is not correct, expected: 1 and found: 0
        ">
              <![CDATA[java.lang.AssertionError: Number of cache hit is not correct, expected: 1 and found: 0

        <testcase name="threeContextTest" time="0.035" classname="jdk.nashorn.internal.runtime.NoPersistenceCachingTest">
            <error type="java.lang.AssertionError" message="Number of cache hit is not correct, expected: 2 and found: 0
        ">
              <![CDATA[java.lang.AssertionError: Number of cache hit is not correct, expected: 2 and found: 0

        The cause is known and the fix is in the webrev https://java.se.oracle.com/code/cru/CR-JDK9DEV-162

              Assignee:
              Matherey Nunez (Inactive)
              Reporter:
              Hannes Wallnoefer
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: