jextract does not handle function pointer return type properly

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: tools
    • None

      jextract does not handle function pointer return type properly.

      Example:

      void (*signal(int sig, void (*func)(int)))(int);

      Two problems:

      * Functional interface class is not generated for function pointer return type
      (while function pointer argument types are handled fine)

      * javadoc snippet comment for functions returning function pointer types is wrong. It is not a valid C declaration.

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

              Created:
              Updated:
              Resolved: