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

jextract failed with native function declaration with java keyword

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: repo-panama
    • Fix Version/s: None
    • Component/s: tools
    • Labels:

      Description

      Native C header file could have java keywords in declaration that are valid C identifier.

      For example, following valid C function declaration would produce a java function with argument named boolean and cause jextract to fail

      void foo(int boolean);

        Attachments

          Activity

            People

            Assignee:
            henryjen Henry Jen
            Reporter:
            henryjen Henry Jen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: