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

jextract generated source for stdbool.h does not compile

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • repo-panama
    • repo-panama
    • tools
    • generic
    • generic

      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.

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

              Created:
              Updated:
              Resolved: