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

VaList.empty() doesn't return a list associated with the global scope

XMLWordPrintable

    • b20
    • b31
    • Verified

        The test case
        assertEquals(SegmentScope.global(), VaList.empty().segment().scope());
        which is written to cover the assertion -

        static VaList empty()
        Returns an empty variable argument list, associated with the global scope.....

        fails:

        Expected equal to : “jdk.internal.foreign.GlobalSession@726f3b58", was given: “jdk.internal.foreign.ImplicitSession@442d9b6e

              mcimadamore Maurizio Cimadamore
              lkuskov Leonid Kuskov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: