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

Implement return value normalization in Java

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • None
    • repo-panama
    • core-libs

    Description

      Current downcall stubs will normalize return values of types bool, char, short and on aarch64 even int.

      This is baking in some knowledge about the native ABI, as it assumes the normalization is needed.

      This normalization could be implemented as a Binding operator through CallArranger instead. By erasing return values to `int` or `long`, and doing the normalization on the Java side.

      Attachments

        Issue Links

          Activity

            People

              jvernee Jorn Vernee
              jvernee Jorn Vernee
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: