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

XMLWordPrintable

    • Type: Sub-task
    • Resolution: Duplicate
    • Priority: P4
    • repo-valhalla
    • Affects Version/s: repo-valhalla
    • Component/s: 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)

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

              Created:
              Updated:
              Resolved: