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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P3 P3
    • None
    • repo-panama
    • tools

      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.

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

              Created:
              Updated:
              Resolved: