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

jdk.internal.foreign.memory.Types is hard coded for the SysV ABI

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Won't Fix
    • Affects Version/s: repo-panama
    • Fix Version/s: None
    • Component/s: tools
    • Labels:

      Description

      jdk.internal.foreign.memory.Types defines a bunch of Layouts under C type names. But the layouts are hard coded for the SysV ABI.

      We could update this class to choose the right layout based on the ABI. But currently, these constants are mostly used in tests, so we could also just remove the Types class, and replace usage by calling layout() on the respective constant in the NativeTypes class.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            jvernee Jorn Vernee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: