VarargsInvoker should use variadic layouts

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: tools

      VarargsInvoker creates a specialized function descriptor here:

      https://github.com/openjdk/jextract/blob/master/src/main/resources/org/openjdk/jextract/impl/resources/RuntimeHelper.java.template#L157

      But does mark the function descriptor as a variadic descriptor. As such, the linkage request will misbehave on certain platforms (Windows and MacOS/AArch64).

            Assignee:
            Sundararajan Athijegannathan
            Reporter:
            Maurizio Cimadamore
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: