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

jextract generated source for stdbool.h does not compile

    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

      stdbool.h defines macros named 'true', 'false'. These are mapped by methods of same name. Just like other cases, this is not a problem for ASM/.class generation (but users won't be able to use such generated class in their java sources and compile). But source generation cannot get away with generating method names that are keywords.

        Attachments

          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: