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

jextract should report unsupported language and exit rather than generating partial nonworking code

    XMLWordPrintable

    Details

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

      Description

      jextract should report unsupported language and exit rather than generating partial code

      jextract's -C option can be used to pass any clang compiler option. User may pass -C-xc++ or -C-xobjc and pass C++ or Objective C header. We don't support anything other than C as of now. It is better to report clear error message and exit.

        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: