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

jextract generated source for stdbool.h does not compile

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • repo-panama
    • repo-panama
    • tools
    • generic
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: