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

    • Icon: Sub-task Sub-task
    • Resolution: Duplicate
    • Icon: P4 P4
    • repo-valhalla
    • repo-valhalla
    • core-libs
    • None

      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)

            lkuskov Leonid Kuskov
            hseigel Harold Seigel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: