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

Overhaul bitfield parsing logic

    XMLWordPrintable

    Details

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

      Description

      The bitfieeld processing logic in jextract has proven to be too fragile. The main issue is that the code has to "guess" as to what the bitfield "container" size might be, since clang doesn't give us that information. While we can enhance that logic (and we have tried to do so in the past), there are always cases which cannot be supported in full - or which would require us to re-implement libclang struct field allocation. We need to find a more robust solution.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mcimadamore Maurizio Cimadamore
              Reporter:
              mcimadamore Maurizio Cimadamore
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: