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

jextract generates unescaped String literals for macros

    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

      On Mac, jextract generated sources for libproc.h do not compile. The issue is that there is String valued macro RTF_BITS from /usr/include/net/route.h. jextract does not escape problematic characters from that String. This results in compilation failure.

        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: