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

NoPersistenceCachingTest fails with ant test

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8u20, 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b08
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        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

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: