Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8230501 Class data support for hidden classes
  3. JDK-8238693

Two JCK api/java_lang/invoke/MethodHandles/Lookup tests fail in valhalla nestmates repo

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: repo-valhalla
    • Fix Version/s: repo-valhalla
    • Component/s: core-libs
    • Labels:
      None

      Description

      These two tests fail because the lookupModes() API returns 95 instead of the expected 31.

      api/java_lang/invoke/MethodHandles/Lookup/MethodsTests.html
      api/java_lang/invoke/MethodHandles/Lookup/ModuleTests.html

      Sample failure:

      Testcase "inTest(0)" failed with arguments [javasoft.sqe.tests.api.java.lang.invoke.MethodHandles.Lookup.utils.exportedofa.PublicClassInExportedPkgOfA, class javasoft.sqe.tests.api.java.lang.invoke.MethodHandles.Lookup.utils.exportedofa.PublicClassInExportedPkgOfA, 31]
      inTest: Failed. test cases: 16; passed: 15; failed: 1
      inTestPublicLookup: Passed. test cases: 6; all passed
      Testcase "lookupClassModes(0)" failed with message: Expected equal to : "31", was given: "95"
              at com.sun.tck.lib.Assert.assertEquals(Assert.java:648)
              at javasoft.sqe.tests.api.java.lang.invoke.MethodHandles.Lookup.ModuleTests.lookupClassModes(ModuleTests.java:170)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              lkuskov Leonid Kuskov
              Reporter:
              hseigel Harold Seigel
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: