Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7903697

jextract doesn't use name in asm label attribute

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • None
    • None
    • tools
    • None

      It is possible to specify an alternative symbol name using an asm label attribute. Jextract was previously changed by https://bugs.openjdk.org/browse/JDK-8223105 to pick up and use this alternative name.

      However, in the following time, it seems that, while we still parse and keep track of this attribute, we don't actually use the alternative name.

      This makes uses of `stat` not work as expected on Mac for instance, because the wrong symbol name is used to link the function in some cases ('stat' instead of 'stat$INODE64')

            mcimadamore Maurizio Cimadamore
            jvernee Jorn Vernee
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: