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

jextract generated sources for Python sample fail to compile

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: repo-panama
    • Fix Version/s: repo-panama
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      jextract generated org.python package sources ( for Python.h ) fail to compile.

      3 issues found:

      1) sometimes package name is generated as usr/include. Package name should have "." for "/" change.

      2) Function callback types have "$" in the name for nested type. Should use "."

      3) Float and double Infinite, NaN macro constant values are not handled properly.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sundar Sundararajan Athijegannathan
              Reporter:
              sundar Sundararajan Athijegannathan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: