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

NoPersistenceCachingTest fails with ant test

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 8u20, 9
    • 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

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

                Created:
                Updated:
                Resolved: